Getting better
This commit is contained in:
parent
c791ab8ba8
commit
d714dfc49e
3 changed files with 25 additions and 6 deletions
|
|
@ -110,6 +110,16 @@ crossorigin=""/ -->
|
|||
</p>
|
||||
<div id="kml-map"
|
||||
style="height: 600px; width: 80%; border: thin solid gray;"></div>
|
||||
<h2>
|
||||
Map using inline KML
|
||||
</h2>
|
||||
<p>
|
||||
This is more limited than I would like, because of cross-site scripting
|
||||
blocks; the URL <b>must</b> be sourced from the same host as the page.
|
||||
</p>
|
||||
<div id="inline-kml-map"
|
||||
style="height: 600px; width: 80%; border: thin solid gray;">
|
||||
</div>
|
||||
<div id="doc">
|
||||
<p>
|
||||
Use this page as a crib for how to use <b>GeoCSV Lite</b> in your projects. In order
|
||||
|
|
@ -282,7 +292,7 @@ crossorigin=""></script -->
|
|||
geocsv_lite.core.initialise_map_element("url-map", csv_url);
|
||||
|
||||
/* Map using KML from URL */
|
||||
geocsv_lite.core.initialise_map_element("kml-map", url + "data/wild-lands/doc.kml");
|
||||
geocsv_lite.core.initialise_map_element("kml-map", url + "data/wild-lands/doc-with-balloons.kml");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue