Just like the navigation between two geometries, you can navigate between two Micello coordinates. You can refer this example to understand the basic of Micello navigation.

In this example we will navigate between two Micello coordiantes. To do so you need to define start and end point objects. This object requires four properties to be set as shown below. 

        var start_position = [{
            "t": "mc",
            "mx":704.254,
            "my":493.426,
            "lid":90,
        }];

Here property "t", "mx", "my" and "lid" stands for type of the route request, micello x, micello y and level id. Here value "mc" for property "t" is abbreviation of the string micello coordinates. Now you can pass start and end point object to Micello SDK function requestNavTo and requestNavFrom respectively. The complete  code will look like this.

        var spos = [{
            "t": "mc",
            "mx":704.254,
            "my":493.426,
            "lid":90,
        }];
        /* End Position */
        var epos = [{
            "t": "mc",
            "mx":1253.816,
            "my":566.887,
            "lid":53606,
        }];
        
        mapControl.requestNavTo(epos);
        mapControl.requestNavFrom(spos);

Navigate using two lat-lon value

Just like navigation between two Micello coordinates, you can also navigate between two lat-lon value pair. To navigate between two lat-lon value you need to first convert the lat-lon value pairs into Micello coordinates and then you can follow the same process explained above.

To convert lat-lon value into  corresponding Micello coordinates, use below SDK functions.

    var lat = 37.53664543200093;
    var lon = -122.29913762223484;
    var mxy = mapDataObject.latLonToMxy(lat, lon);

After converting you will get the array of Micello x and y, which can be used to navigate between two points just like the example above.