Embeddable maps
2. Setting up the Project (Embeddable Maps)
- Create a folder called embeddedMapTest in your file system.
- Add a file called index.html
- Add a folder called script.
- Add a file called embeddedMapScript.js in the script folder.
- Create a folder called img inside embeddedMapTest.
- Copy missingtile.png and blank.png from the Web Map Layers img folder to the new img folder.
- Add the following code to index.html:
Copy
<!DOCTYPE html>
<html>
<head>
<title>Embedded maps development</title>
</head>
<body>
</body>
</html>
If you plan to use GeognoSIS layers for this map, it is important to correctly configure the proxy settings (in the case of “embedded” it is in General Settings > embedded settings)
Ensure the proxy URL points to the Web Map. Else WebMap will assume the embedded site has its own proxy.
![]() |
3. Adding a Map to index.html |