-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Milestone
Description
Not all map providers support all the MXN core features. It's currently left to the caller to look at a given provider's implementation to determine what is and what isn't supported.
We should add a hasFeature() call to the MXN core to allow the caller to determine whether a feature is supported or not at run-time.
For example, OpenLayers only supports the OSM map style out of the box. So a call to mxn.hasFeature(mxn.Mapstraction.PHYSICAL) when using OpenLayers would return false, whereas the same call when using Google v3 would return true.