Closed mcongrove closed 7 years ago
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: https://github.com/hansemannn/titanium-google-maps/pull/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.
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