hansemannn / titanium-googlemaps

🗺 Use the Google Maps SDK in Titanium

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for KML/GeoJSON

mcongrove opened this issue · comments

Any mapping beyond simple points and lines requires support for shape file importing. Google Map iOS SDK supports import for KML and/or GeoJSON. Would be a great additional feature.

https://developers.google.com/maps/documentation/ios-sdk/utility/kml-geojson

You can pass a JSON-payload using the mapStyle property already, but the KML notation is something else. Marking as feature-proposal, but it's not planned, yet.

Had a few minutes at the airport, try it out: #99

Works great. Any chance of adding a method to remove a KML/GeoJSON overlay?

There is, but with the way I hacked it yesterday it doesn't. I will work on making it an own proxy "Renderer" that then will have the methods render, clear.

Updated, closing this issue.