Example of OSM with Sublayer in React Maps Component

/
/
OSMSubLayer

This sample visualizes the Africa continent location in the World map. Africa continent is rendered in sublayer, on the OpenStreetMap.

More Details...

Loading....
Description

In this example, you can see how to render geometric layers as sublayer on the OpenStreetMap. Rendered the outline of Africa continent using GeoJSON data on the top of the OSM map.


Injecting Module

Maps component features are segregated into individual feature-wise modules. To use zooming feature, inject the Zoom module using the Maps.Inject(Zoom) method.