Preparing the data
External layers
Each external layer object should have the following properties:
id: short string identifying the layer;label: layer label to be displayed at the interface;type: layer type, should be equal torasterorvector;label: short string to describe the layers at the interface;url: URL of tilejson, iftype=vector;vectorLayers: array vector layer ids, iftype=vector;tiles: array of tile URLs. Can be used as a mutually exclusive alternative tourlif type isvector. Required if type israster;source: object describing layer source:label: short string describing the source;url: URL to source.