Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; GmaLine has a deprecated constructor in /home/pmwiki/pmwiki/cookbook/GoogleMapAPI/GoogleMapAPI.php on line 58

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; GmaMap has a deprecated constructor in /home/pmwiki/pmwiki/cookbook/GoogleMapAPI/GoogleMapAPI.php on line 107

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; GmaPoint has a deprecated constructor in /home/pmwiki/pmwiki/cookbook/GoogleMapAPI/GoogleMapAPI.php on line 164

Warning: Cannot modify header information - headers already sent by (output started at /home/pmwiki/pmwiki/cookbook/GoogleMapAPI/GoogleMapAPI.php:58) in /home/pmwiki/pmwiki/pmwiki.php on line 475

Warning: Cannot modify header information - headers already sent by (output started at /home/pmwiki/pmwiki/cookbook/GoogleMapAPI/GoogleMapAPI.php:58) in /home/pmwiki/pmwiki/pmwiki.php on line 1921
PmWiki | GoogleMapAPI / KML Support
Recent Changes - Search:

PmWiki

pmwiki.org

KML Support

Would be great if the markup supported pointing at a kml url.

Some people (humm!) might already serve up kml data via a url. Also perhaps process a CSV file. To be able to display this would be fantastic. A couple of examples could be:

Example 1: KML layer

(:gma-kml-url http:www.mykmlservice?myQuery=something :)
Example 2: CSV layer
Perhaps a URL returns a file like this:
lat, lng, datetime, label, desc
1.001, 2,202, 100000202, Point 1, This is point number 1
1.002, 2,203, 100000444, Point 2, This is point number 2

Then you'll need a load of configuration for the php/javascript behind the scene to know how to process the data. Perhaps something like this...

(:gma-csv-url http:www.mykmlservice?myQuery=something deliminator=',' lattitude='lat' longitude='lng' time='datetime' text='label' description='desc' :)

If your still with me, the above CSV file would be plotted on the map. Just like we can already do using GMA manually.

I can hear what you're already saying - what else does he want, the moon on a stick!

By: Smc Jan 23, 2007, at 22:20 GMT.

Status: Suggested

Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 05:58 PM