JMap.Extension.getAllRegisteredIds
Returns all registered extension ids.
JMap.Extension.hasMouseOver
Returns true if any of the currently registered extension has defined a "renderMouseOver" method.
JMap.Extension.isRegistered
Tell if an extension has been registered or not.
It can be useful to know if a JMap extension is in use or not.
The extension id
JMap.Extension.register
Register your own extension.
JMap.Extension.renderMouseOver
It returns all extension mouseover data for a specific layer and feature.
The JMap layer
A geoJSON feature
an empty array if no extension is registered
JMap.Extension
We introduced the notion of extension in JMap.
We designed a mecanism for our needs, that could loads optional plugins for JMap.
This mecanism provide a clean way to integrate in JMap your own extension plugin.
You can create an object that implement the interface JCoreExtension, and register it from this section.
By example you register an extension with id="MyCompany"".
You can defined your own Redux reducer that will react to all actions trigerred. In the store your data will be located at external.MyCompany.
You can defined your own JMap related services, that will be accessible at this location : JMap.Extension.MyCompany
And you also can integrate your own mouseover (for more details look in JMap.MouseOver documentation).