| 1 |
This module provides a filter to allow users to insert KML files into nodes on top of a google map.
|
| 2 |
|
| 3 |
Uses a filter to embed a google map overlayed with a KML file using square brackets
|
| 4 |
like [mykml:http://mapgadgets.googlepages.com/cta.kml (41.88414, -87.63238), 10] or in general [mykml:path-to-kml-or-georss (lat,lon), zoom]
|
| 5 |
|
| 6 |
|
| 7 |
Install:
|
| 8 |
- upload to /modules
|
| 9 |
- enable in admin/settings/modules
|
| 10 |
- navigate to admin/settings/mykml, to change the Google API key (http://www.google.com/apis/maps/) and to set general layout options.
|
| 11 |
- then go to admin/settings/filters and either create a new input format with the MyKML Filter enabled or add the MyKML Filter to "full html". Note: to make this work with the html filter, you'll need to play around with the allowed tags.
|
| 12 |
|
| 13 |
Known limitations:
|
| 14 |
- by Google's design, kml overlays can only contain 100 map elements
|
| 15 |
- loads .js files on every page, except admin pages
|
| 16 |
|
| 17 |
Send comments to chris@placematters.org
|