Documentation

Navigation from fixed location

Micello maps have ability to navigate between two geometries on the map. There may be a time when developer wants to show navigation from some fixed location (latitude-longitude or mx-my) to some geometry.

Here, latitude-longitude can be predefined value or it can be obtained from some positioning services. At line 47 in the code, we areĀ  converting latitude-longitude to micello coordinates. Then we are generating route request object with type "t" as "mc" (micello coordinates) following by coordinate values and level id.

In this example we are also overriding default start pin with blue dot. More detail on how to override start and end pins can be found here.

Click on any store in below example and select "navigate to".