Example of OSM with Sublayer in Angular Maps Component

undefined
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Location of Africa continent in the World map
© OpenStreetMap contributors

Source: Seven Continents

This sample visualizes the location of Africa continent in the World map.

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

Injecting Module

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