[Google Maps] How do i change the Marker?

Forge Component
(26)
Published on 2018-10-18 by Labs
26 votes
Published on 2018-10-18 by Labs

Hi,

I am unable to find the property to change the marker into an image or something.

tried the markeroption property using icon: .. imgPath.. only to get a resource not found error

Do assist!


Thanks

Solution

Hi Joshua Lee,

In logic tab --> GoogleMaps->Markers-->I was using

SyntaxEditor Code Snippet

AddCoordinateMarkerToMap

One of its input parameter 

SyntaxEditor Code Snippet

MarkerOptions

as shown in a snapshot, you can change the image icon.


Regards ,

Amreen

Solution

Amreen Shaikh wrote:

Hi Joshua Lee,

In logic tab --> GoogleMaps->Markers-->I was using

SyntaxEditor Code Snippet

AddCoordinateMarkerToMap

One of its input parameter 

SyntaxEditor Code Snippet

MarkerOptions

as shown in a snapshot, you can change the image icon.


Regards ,

Amreen

Thanks Amreen!


Hi Amreen Shaikh,

In my case, i want to change icon marker in the method add Direction for both Orginal and Destination.

Do you have any suggestion?


Thank

Khoa Vu wrote:

Hi Amreen Shaikh,

In my case, i want to change icon marker in the method add Direction for both Orginal and Destination.

Do you have any suggestion?


Thank

Use if condition for it.


Hi,

      I am stuck to  set the ''source record attribute'' of Form . What should I used value in source record attribute. PLease tell me


Hi Vijay,

I'm not sure I understood your question correctly. Is this a generic question about Forms with OutSystems in general, or does this relates to the Google Maps component? 


Can you please share more details about the problem you are facing?

Vera