From the zip folder
MapSources V6
grab the MapFile calledView file name MapSources_v6.zip base_osmapsapi.map
and place it underE:\iShareData\LIVE\_MapServerConfig\
if it doesn’t already exist.From the zip folder
MapSources V6
grab the custom OS Leisure MapSource calledbase_osmapsapi_leisure_wmts_ads.xml
and place it underD:\Astun\iShareGIS\LIVE\WebApps\WebService\config\mapsources
After placing the files into the correct destinations, open Studio and import the MapSource under the
BaseMaps
node:Right-click on the
BaseMaps
node and selectImport MapSource
Navigate to the directory in which you placed the OS Leisure MapSource, open it, and give it an appropriate name such as OS Leisure:
After the import, you will notice that everything is prefilled for you. All you have to do is add your API key and your organisation's name in the correct places:
Navigate to the
Details
node and examine theURI
and theWMS URI
fields. TheURI
field is pointing to the OS WMTS Astun Data Services endpointhttps://apimap.services.osastuntechnology.uk/maps/raster/v1/wmtscom/your-organisation-goes-here/osmaps/service?key=your-API-key-goes-here
and theWMS URI
is pointing to the WMS Astun Map Data Services endpointhttps://beta-map.services.astuntechnology.com/your-organisation-goes-here/osmaps/service?key=your-API-key-goes-here
to enable the printing functionality. In those URIs, you will see three placeholders, two that sayyour-API-key-goes-here
and one that saysyour-organization-goes-here
. Replace those placeholders with your actual alpha-numeric OS Data Hub Project API key Key and organisation name, and don't forget to save your changes:. If you are unsure of your organisation name, please contact us via support.
Add the base map to a MyMaps MapSource, save and test that the base map is displaying correctly:
Follow the same procedure for the rest of the custom basemap MapSources:.
base_osmapsapi_leisure_25k.xml
base_osmapsapi_leisure_50k.xml
base_osmapsapi_leisure_greayscalegrayscale_wmts_ads.xml
base_osmapsapi_leisure_wmts_ads.xml
base_osmapsapi_light_greyscalegrayscale_wmts_ads.xml
base_osmapsapi_outdoor_greyscalegrayscale_wmts_ads.xml
base_osmapsapi_road_greyscalegrayscale_wmts_ads.xml
Info |
---|
Please note the below:
|