jeffreykemp / jk64-plugin-reportmap

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

Initial Map Position incorrectly interpreting Longitude value #44

Closed jeffreykemp closed 6 years ago

jeffreykemp commented 6 years ago

Report with no rows and Initial Position attribute set, e.g. set Initial Position to -31.9505,115.8605 Expected: shows Perth, Western Australia area Actual: shows southern part of Africa instead

Reported by: Genevieve Warriner

jeffreykemp commented 6 years ago

If there is no map data to show, the plugin was adding a "No data to show" map marker at (0,0). If the initial map position + zoom level didn't allow this map marker to be shown, the map was being panned so that the marker would be displayed.

Modified plugin to place the "No data to show" marker at the initial position, if specified.

jeffreykemp commented 6 years ago

fixed in v0.9