jeffreykemp / jk64-plugin-reportmap

Report Google Map APEX Plugin
https://jeffreykemp.github.io/jk64-plugin-reportmap/
MIT License
42 stars 16 forks source link

Custom initial zoom level when only a single data point #58

Closed jeffreykemp closed 5 years ago

jeffreykemp commented 5 years ago

When the result set only has 1 data point, google map's fitBounds zooms in to the maximum level to show that data point (e.g. only showing the street it's on).

In this case it is generally preferred to not zoom in so much. Ideally, a plugin attribute might make sense (although it would only apply to this one edge case).