How to open native mobile maps app in outsystems with marker on it.

Need to know any plugin which open native mobile maps app and mark latitude and longitide on google map or apple map by clicking on button.

Hello Aayush,


In order to access the GPS capabilities of the users device, you have the Location Plugin:

https://www.outsystems.com/forge/component-overview/1395/location-plugin


For the mobile maps, you have Google Maps Mobile component. Check some samples in here:

https://www.outsystems.com/forge/component-overview/5425/google-maps-mobile-samples


Kind regards,

Rui Barradas

any plugin which takes latitude and longitude and open on native maps app in mobile and set marker on it.


Rui Barradas wrote:Hello Rui i am looking for plugin in outsysems mobile which can take latitude amd longitude and set marker on the installed maps in the device as i have installed maps api in our systems.

Hello Aayush,


In order to access the GPS capabilities of the users device, you have the Location Plugin:

https://www.outsystems.com/forge/component-overview/1395/location-plugin


For the mobile maps, you have Google Maps Mobile component. Check some samples in here:

https://www.outsystems.com/forge/component-overview/5425/google-maps-mobile-samples


Kind regards,

Rui BarradasHello Rui 

Hi Aayush,

 https://www.outsystems.com/forge/component-overview/1395/location-plugin

it is reutrn latitude and longitude of current location

https://www.outsystems.com/forge/component-overview/5425/google-maps-mobile-samples

It return latitude and longitude of location and also take custom latitude and longitude for location


You can use according your need.

Rgards

Rahul Sahu

aayush khandelwal wrote:

Hello Rui i am looking for plugin in outsysems mobile which can take latitude amd longitude and set marker on the installed maps in the device as i have installed maps api in our systems.

Hello Aayush,

Like I said in my previous post, you can use the Location Plugin in order to get the latitude, longitude and the altitude of the users device. Basically it allows you to access the GPS capabilities of the device and you have a specific function that returns the current coordinates of the device.


About your other question, you can use the Google Maps Mobile component. It allows you to implement your own map in your application and set markers on it. You just need to specify the coordinates for these markers. You have a lot of samples in this link, like how to implement markers and directions.


I use both of these components in my apps and they work perfectly.


Let us know if you have any further questions.


Kind regards,

Rui Barradas

Hello Aayush,

You can use this component to open the application https://www.outsystems.com/forge/component-overview/1558/inappbrowser-plugin

For google maps you should pass this Url:

"https://www.google.com/maps/?q="+Latitude + " ," + Longitude

Please have a look on my example: