Sonntag, 5. Januar 2014

Maps v2 circles library for Android!

I published a library to create circles using gestures in Android's maps v2.

Github: https://github.com/i-schuetz/map_areas



I remember back on maps v1, that I actually invented the basic functionality (create circle with long press and drag to resize) - together with a college in a company I was working at. It was quite complicated to implement in v1. I published the functionality in my homepage.

With maps v2 this code was not usable anymore. And surprisingly, Google added this functionality to maps v2 / a sample demo (coincidence...?). Though with some differences, like using markers to do the gestures, or the possibility to change the position of the circles.

Anyway, the provided sample is relatively raw, possibly not usable out of the box. I created the library to ease the usage and provide some additional features.