jeffreykemp / jk64-plugin-reportmap

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

mapLoaded event not firing #83

Closed jeffreykemp closed 4 years ago

jeffreykemp commented 4 years ago

Adding a Dynamic Action on the mapLoaded event never fires.

jeffreykemp commented 4 years ago

Seems to have been caused by the trigger occurring in the jquery plugin _create event (i.e. before the plugin object had finished being created).

Moved the trigger to the end of the refresh AJAX handler. This makes it more useful (it runs after the data is loaded).

Added a new event mapRefreshed which is idential to mapLoaded except that it only runs on subsequent refreshes of the data.

jeffreykemp commented 4 years ago

Fixed in Release 1.1