This example shows how to set a map style that was created in the HERE Style Editor.

Code

The code below creates a new H.map.render.harp.Style instance that loads and parses the user's style 'night.json'. After that the style is used to create a new H.map.layer.TileLayer, which is passed to the map constructor.