Example of undefined in React Maps Component


This sample illustrates the flight route from Los Angeles to Mexico City using Navigation lines feature in the OpenStreetMap.

More Details...


In this example, you can see how to render the navigation lines on the OpenStreetMap. Also denoted the source and destination locations using marker template.

Injecting Module

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