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 07:58 PM