Online Maps and Tiles API Description

Online maps consist of the following services:

  • Static Maps
  • Map Tiles

All services use the Web Mercator projection and produce PNG raster images unless otherwise specified.

These APIs use http(s)://api.marineplan.com as base path.

Static Maps

Static maps are map images of arbitrary size, location and zoom level. All are programmable.

API

GET /api/maps/<version>/<language>/<unit>/<style>/<variant>/map.<ext>?<parameters>
parameterdescriptionvaluesdefault value
versionAPI version1
stylemap stylebasic: MarinePlan Maps
gogo: impression of Google Maps
tommy: impression of TomTom Maps
street: impression of OpenStreetMap
hero: impression of Vaarkaart Nederland Map
ocean: impression of Navionics Maps
formal: impression of Kadaster Maps
topo: impression of OpenTopo Maps
aqui: impression of Here Maps
nature: simplified thema resembling satellite imagery colours
transparent: overlay with labels, POIs and details to be overlaid on satellite imagery
details: overlay with POIs and details to be overlaid on a typical street-map such as TomTom or OSM
variantmap style variant (only for basic style)day: day style
night: night style (if available)
extfile formatpng: raster image
svg: vector image
[point]map center as latitude,longitudelatitude= -90..90 longitude=-180..18052.202242, 4.538984
[zoom]zoom level7..2013
[width]width in pixels1..20000512
[height]height in pixels1..20000512
languagemap label languageNL EN DE FY DA SV FR IT ES PT
unitbridge and lock dimensions unitmetric and nautical_metric: meters (e.g. H3.45)

nautical_imperial
and imperial: feet and inches (e.g. H11’1″)
keyAPI secret key, to be requested from MarinePlanUUID

Map Tiles

Map tiles are 256×256 PNG images as standardized by several industries. MarinePlan recommends the use of the Leaflet JS library to create an interative map as depicted in the Interactive Map Demo.

API

GET /tiles/<version>/<language>/<unit>/<style>/<variant>/<zoom>/<x>/<y>.png?<parameters>
parameterdescriptionvaluesdefault value
versionmap version2
languagemap label languageEN NL FY DE FR DA SV IT ES PT
stylemap stylebasic: MarinePlan Maps
gogo: impression of Google Maps
tommy: impression of TomTom Maps
street: impression of OpenStreetMap
hero: impression of Vaarkaart Nederland Map
ocean: impression of Navionics Maps
formal: impression of Kadaster Maps
topo: impression of OpenTopo Maps
aqui: impression of Here Maps
nature: simplified thema resembling satellite imagery colours
transparent: overlay with labels, POIs and details to be overlaid on satellite imagery
details: overlay with POIs and details to be overlaid on a typical street-map such as TomTom or OSM
variantmap style variantdaynight (only for basic)
 xX tile number (numbers from Greenwich = 0)0..2zoom-1
 yY tile number (numbers from the equator = 0)0..2zoom-1
 zoomzoom level6..20
unitbridge and lock dimensions unitsmetric and nautical_metric: meters (e.g. H3.45)

nautical_imperial
and imperial: feet and inches (e.g. H11’1″)
keyAPI secret key, to be requested from MarinePlanUUID

Translate page