Closed Irfanwani closed 2 years ago
So i think i got it. It requires query
parameter to be set.
So my code will look like this;
openMap({query: address, end: address, navigate: true })
we can give address as latitude and longitude seperated by a comma (,)
I tried the navigation feature and it works fine but it shows this warning;
Expected 'end' parameter in navigation, defaulting to preview mode.
Here is the code;
openMap({ latitude: some_latitude, longitude: some_longitude, end:
${some_latitude},${some_longitude}, navigate: true })