romaonthego / REMarkerClusterer

REMarkerClusterer creates and manages per-zoom-level clusters for large amounts of markers.
MIT License
195 stars 30 forks source link

Bug while giving strange coordinates that made it crash. #9

Closed nicoyuste closed 11 years ago

nicoyuste commented 11 years ago

Bug while giving strange coordinates that made it crash while setting region. Now it checks that the region is valid before setting the region.

Now the REMarkerClusterer checks that the regiojn is correct before calling to the map. In case it is not valid it just don´t do anything. In this cases we avoid the crash.