Skip to content
Andrea edited this page Oct 13, 2015 · 15 revisions

Map options

Layers option

Layer types

WMS

Bing

Google

MapQuest

TileProvider

TileProvider is a shortcut to easily configure many different layer sources. It's enough to add provider property and 'tileprovider' as type property to the layer configuration object. Property value should be in the form of ProviderName.VariantName.

List of available layer here

i.e.

{ "type": "tileprovider", "title": "Title", "provider": "Stamen.Toner", "name": "Name", "group": "GroupName", "visibility": false }

Options passed in configuration object, if already configured by TileProvider, will be overridden.

Openlayer's TileProvider at the moment doesn't support minZoom configuration property and hi resolution map