How to Connect Multiple Markers with a line in Maps
Question
Application Type
Reactive

Hi,

I got a requirement where I'll be having multiple geocoordinates and I need to mark them in map and I need to connect them a line 

Kindly help me


Thanks,

Sandeep.

Hello Sandeep, 

There is some Issue of foreign reference, but @Amit Jain concept is right.

can  you please download through forge and than you will be able to get the same Dependency from it 

https://www.outsystems.com/forge/component-overview/11212/

Demo is also available there so go through it.

hope this will work for you.


Thanks and Regards,

Akshay Deshpande.


Solution

Hi,

I tried to create an app according to your requirements. it will give an idea to create the polyline on Map.

I did changes in Google map js to draw it. you can add more features according to your requirements.


Plz check it 

https://amitj.outsystemscloud.com/DummyReactiveApp9Map/


DummyReactiveApp9Map.zip

Hi Amit , thanks for the help, it's working fine when i use your link but the application is not working as expected in my environment kindly tell me if i need to do anything with dependencies .

Also I'm trying to add dependencies for the ReactiveMapsMobile but it's not adding 


I don't what's wrong, please help me out of this.

Hello Sandeep, 

There is some Issue of foreign reference, but @Amit Jain concept is right.

can  you please download through forge and than you will be able to get the same Dependency from it 

https://www.outsystems.com/forge/component-overview/11212/

Demo is also available there so go through it.

hope this will work for you.


Thanks and Regards,

Akshay Deshpande.


I shared Google map mobile OML also shared. I did some changes to Crete the polyline map function. You have to use that oml


Yes akshay, there're some missing JavaScriptUtils missing dependencies 


thanks for the help.

Thanks Amit for the help

JavaScript utils is one component you will get the dependency from this component

 https://www.outsystems.com/forge/component-overview/1392/javascript-utils

Thanks and Regards,

Akshay Deshpande

Hello Sandeep, 

The steps is also mention in the documentation of that component,

May be this will also helps you.

Thanks and Regards,

Akshay Deshpande

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.