Element Details: Connection.Leaflet+Map
 Back


Available in: Logi Info Source code name: Connection.LeafletMapIntroduced in: 12.5

Defines connection details for a tile server for use by a Leaflet map.

Element Group:Geographical



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
ID
UserDefined
(Required) The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
TileServer
Thunderforest-Transport-Dark
Thunderforest-Transport
Thunderforest-SpinalMap
Thunderforest-Pioneer
Thunderforest-Outdoors
Thunderforest-Neighbourhood
Thunderforest-Mobile-Atlas
Thunderforest-Landscape
Thunderforest-Cycle
Stamen-Watercolor
Stamen-Toner
Stamen-Terrain
MapQuest-Traffic-Markets
MapQuest-Traffic-Incidents
MapQuest-Traffic-Flow
MapQuest-Satellite
MapQuest-Light
MapQuest-Hybrid
MapQuest-Dark
MapQuest
TileServer is the URL of a tile server. For example: http://my.map.tile.server/{z}/{x}/{y}.png. z represents zoom level. x and y represent coordinates. The mapping element supplies the values as the user interacts with the map. There are some predefined TileServer values such as "MapQuest" which points to a public MapQuest tile server. A predefined value may be used in place of the URL value described above.
TileServerApiKey
UserDefined
TileServerApiKey is for tile servers which require an API key. This includes the MapQuest and Thunderforest servers.
TileServerAttribution
UserDefined
Required if your tile server requires it for licensing purposes. This field accepts HTML. The value will be displayed in the bottom right corner of the map, when a map layer using this connection is displayed.
TileServerInclude
UserDefined
TileServerInclude references a javascript file that is required by some map tile servers. It is a URL to the javascript. Multiple javascript files may be included by delimiting each URL with the pipe "|" symbol.
TileServerJavascript
UserDefined
Some Leaflet javascript plugins require map layers to be created using specific javascript constructor code. That code may be entered in the TileServerJavascript attribute. For example, to use the official MapQuest Leaflet plugin, and retrieve their satellite map tiles, the value for this attribute would be "new MQ.satelliteLayer()". Note that for the built-in TileServers, such as MapQuest, this value is automatically filled, and so is not required. Visit http://leafletjs.com/plugins.html to learn more about Leaflet plugins.



PARENT ELEMENTS

Click element to drill down for more information.

Connections


CHILD ELEMENTS

Click element to drill down for more information.



 Back to top