• Hi,

    I am unable to get multiple styles to my map with map_id.
    When I add parameters like here https://www.mapster.me/wp-mapbox-gl-js/examples/, there are no multiple style controls when I also use map_id.

    I also tried to add parameters to wp_mapbox_gl_js_map_object in the plugin setup as follows:
    “style”:”mapbox://styles/mapbox/streets-v10″,”styles”:[“mapbox://styles/mapbox/streets-v10″,”mapbox://styles/mapbox/light-v9″],”titles”:[“Streets”,”Light”]
    This did not work out either.

    Can you help me?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple styles in map’ is closed to new replies.