You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generates Weather widgets (list items) for concepts that refer to locations.
Promotes the maps to a interactive Google Map with a weather layer centered on the targeted coordinates with the weather overlay, in modal window.
Dependencies
LDPlugin
Web API connections
This plugin reacts to annotations that contain in their resource fields Geonames API calls that point to the annotated location.
The Geonames API response is in XML format. The plugin processes this response, by extracting the location name, the latitude and longitude in decimal form.
A Google Map API query string is being built with the extracted information.
Widgets
One widget composed of: a button with a green map icon and the targeting location name.
Events
This plugin will attach the rendering logic of the widgets in the becomeActive event handler of each annotation that contains a Geonames call in it resource field.
Each widget is active to click events and will trigger a modal window with a interactive Google Map centered on the targeted location.
Display in the modal window
On clicking of taping the widget, the plugin will generate a Google map centered in the location name.
The modal window will take a width of 70% and height of 70% of the display resolution.