In my last post, I outlined how you can add Polygon support to your Titanium MapView. Continuing with this topic, I have added Circle Overlay support (MKCircle) to the Titanium MapView module.
To avoid any namespace collisions I forked the native Titanium MapView implementation and create the benCoding.Map module.
To show how this works, I’ve create a demonstration showing all of the worlds nuclear power plants with a circle showing a 10 and 50 mile radius.
Please visit github for the compiled module, documentation, and sample apps. The project can be found at https://github.com/benbahrenburg/benCoding.Map
The Polygon and Circle example apps are included in the modules example folder or on github here.
Hopefully these examples will be useful for anyone working with GIS functions in Titanium.