[Google Maps] How do i change the Marker?

Forge Component
(43)
Published on 2019-08-06 by Labs
43 votes
Published on 2019-08-06 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

Hi,

I want to change the icon of the marker. How can i do that?

I try to change in the MarkerOptions, in the assigne where i passed the lat and long, but i still get the default icon.


Can someone help me please?


Thanks