Image below shows my own index2.html code: In the example below I show how to use the code in the index.html file to add it to another web page: CSS file, or embedding CSS tags in the line in the index.html code. Than you can edit the map (dimension, position, etc.) using your own. You might copy the plugin's output to your folder/server, but the structure of the folders must be kept. In order to present a map on your webpage, that was produced using QGIS2LEAF plugin, you should first make sure to put your HTML files, CSS etc in the main folder of the QGIS2LEAF output (see example below). I will elaborate on how to embed the map in another page later on. index.html is the original plugin's output, and index2.html is my own webpage code. Here is a screenshot of the right structure. misc and pictures: two more folders that may contain data or may be empty thus implying they are optional.JS: contains javascript codes that are used to add funcionalities and display your map properly.js file that is the geometrics, attributes and styling of your layer. Data: contains an GEOJSON code nested within a. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |