<< Click to Display Table of Contents >> Navigation: Data Module > Data Customizations > Base Maps |
Note |
Currently the definition of base map layers is limited to using SQL scripts to insert data. A tool for users to define and manage layers will be available soon. |
Base maps require an internet connection to request map data from API's.
The performance of the map depends on the internet speed and the speed of the server providing the map service.
Three provider types are supported:
•Bing Maps
•Open Street Maps (OSM)
•Web Map Services (WMS)
<Name></Name> - defines the internal name of the definition
<MaxZoomLevel>0</MaxZoomLevel> - defines the maximum zoom level that the base map is shown, with 0 indicating all levels
<MinZoomLevel>0</MinZoomLevel> - defines the minimum zoom level that the base map is shown, with 0 indicating all levels
<Visible>true</Visible> - defines if the base map is shown at all
<ZIndex>900</ZIndex> - defines level relative to other base maps
<Attribution>Bing Maps</Attribution> - defines the legal text shown on the map
<Transparency>0</Transparency> - useful when more than one base map is visible
The Bing Map type can only be used with Bing Maps, and requires a valid commercial Bing key.
The Kind attribute can be set to Area, Hybrid or Road
INSERT [dbo].[_layer] (
[GEO_ID],
[CLNT_ID],
[PROJ_ID],
[NAME],
[Type],
[Properties])
VALUES (
N'38698b11-f355-4c3b-9ad5-6de3f1f122c3',
N'MASTER',
N'MASTER',
N'Bing Hybrid',
N'Bing',
N'<Serializer>
<Version>1.0</Version>
<LayerImageBing>
<Name>Bing Hybrid</Name>
<MaxZoomLevel>0</MaxZoomLevel>
<MinZoomLevel>0</MinZoomLevel>
<Visible>true</Visible>
<ZIndex>300</ZIndex>
<Attribution>Bing Maps</Attribution>
<BingKey>[ENTER YOUR BING KEY HERE]</BingKey>
<ConnectionProtocol>Http</ConnectionProtocol>
<CultureName>en-NZ</CultureName>
<EnableAntialiasing>true</EnableAntialiasing>
<Transparency>0</Transparency>
<Kind>Hybrid</Kind>
</LayerImageBing>
</Serializer>')
The Open Street Map type can be used with Open Street Map contributors and other providers that use the use the same Uri template.
INSERT [dbo].[_layer] (
[GEO_ID],
[CLNT_ID],
[PROJ_ID],
[NAME],
[Type],
[Properties])
VALUES (
N'f7a7ec0f-ee32-4419-940b-b9d2a9e388b1',
N'D2',
N'MASTER',
N'nearmap.com',
N'Osm',
N'<Serializer>
<Version>1.0</Version>
<LayerImageOsm>
<Name>NEARMAP - Aerial</Name>
<MaxZoomLevel>0</MaxZoomLevel>
<MinZoomLevel>0</MinZoomLevel>
<Visible>true</Visible>
<ZIndex>900</ZIndex>
<Attribution>nearmap.com</Attribution>
<EnableAntialiasing>true</EnableAntialiasing>
<Transparency>0</Transparency>
<Kind>Basic</Kind>
<Subdomains>a</Subdomains>
<Subdomains>b</Subdomains>
<Subdomains>c</Subdomains>
<TileUriTemplate>https://api.nearmap.com/tiles/v3/Vert/{1}/{2}/{3}.png?apikey=[ENTER YOUR API KEY HERE]</TileUriTemplate>
</LayerImageOsm>
</Serializer>')
INSERT [dbo].[_layer] (
[GEO_ID],
[CLNT_ID],
[PROJ_ID],
[NAME],
[Type],
[Properties])
VALUES (
N'3b313456-be62-43c8-9f61-ec55e339a531',
N'D1',
N'MASTER',
N'LINZ Data Service - Parcel',
N'Osm',
N'<Serializer>
<Version>1.0</Version>
<LayerImageOsm>
<Name>LINZ Data Service - Parcel</Name>
<MaxZoomLevel>0</MaxZoomLevel>
<MinZoomLevel>0</MinZoomLevel>
<Visible>true</Visible>
<ZIndex>800</ZIndex>
<Attribution>LINZ Data Service - Parcel</Attribution>
<EnableAntialiasing>true</EnableAntialiasing>
<Transparency>0</Transparency>
<Kind>Basic</Kind>
<Subdomains>a</Subdomains>
<Subdomains>b</Subdomains>
<Subdomains>c</Subdomains>
<TileUriTemplate>http://tiles-a.data-cdn.linz.govt.nz/services;key=[ENTER YOUR API KEY HERE]/tiles/v4/set=4769/EPSG:3857/{1}/{2}/{3}.png</TileUriTemplate>
</LayerImageOsm>
</Serializer>')
INSERT [dbo].[_layer] (
[GEO_ID],
[CLNT_ID],
[PROJ_ID],
[NAME],
[Type],
[Properties])
VALUES (
N'8258a6d1-d7dc-41d9-bab6-f7bea9130779',
N'D1',
N'MASTER',
N'LINZ Data Service - Aerial',
N'Osm',
N'<Serializer>
<Version>1.0</Version>
<LayerImageOsm>
<Name>LINZ Data Service - Aerial</Name>
<MaxZoomLevel>0</MaxZoomLevel>
<MinZoomLevel>0</MinZoomLevel>
<Visible>true</Visible>
<ZIndex>900</ZIndex>
<Attribution>LINZ Data Service - Aerial</Attribution>
<EnableAntialiasing>true</EnableAntialiasing>
<Transparency>0</Transparency>
<Kind>Basic</Kind>
<Subdomains>a</Subdomains>
<Subdomains>b</Subdomains>
<Subdomains>c</Subdomains>
<TileUriTemplate>http://tiles-a.data-cdn.linz.govt.nz/services;key=[ENTER YOUR API KEY HERE]/tiles/v4/set=4702/EPSG:3857/{1}/{2}/{3}.png</TileUriTemplate>
</LayerImageOsm>
</Serializer>')
INSERT [dbo].[_layer] (
[GEO_ID],
[CLNT_ID],
[PROJ_ID],
[NAME],
[Type],
[Properties])
VALUES (
N'db5a5192-4f04-48dd-b201-157668a83f21',
N'D3',
N'MASTER',
N'ows.mundialis.de',
N'Wms',
N'<Serializer>
<Version>1.0</Version>
<LayerImageWms>
<Name>ows.mundialis.de</Name>
<MaxZoomLevel>0</MaxZoomLevel>
<MinZoomLevel>0</MinZoomLevel>
<Visible>true</Visible>
<ZIndex>300</ZIndex>
<Attribution />
<ActiveLayerName>OSM-WMS</ActiveLayerName>
<CustomParameters />
<MaxRequestedImageHeight>0</MaxRequestedImageHeight>
<MaxRequestedImageWidth>0</MaxRequestedImageWidth>
<ServerUri>http://ows.mundialis.de/services/service</ServerUri>
<EnableAntialiasing>true</EnableAntialiasing>
<Transparency>0</Transparency>
</LayerImageWms>
</Serializer>')