[Google Maps Mobile] Question:How to put two type marker on Map?

[Google Maps Mobile] Question:How to put two type marker on Map?

  
Forge Component
(9)
Published on 24 May by Labs
9 votes
Published on 24 May by Labs

It’s nice to meet you.

I want to  put two type marker(Different image).

One is current position information,another is previously created MapMarkerList Entity 's infomation.

Current position information is obtained using the Location Plugin.

But,GoogleMaps\Maps Marker argument can put only one.

Can I make two type maker?

If it can,how to do?

I look forward to hearing back from you. 

Anything can be done I believe.  The picture didn't come through though.

Hi Nariyasu,

The GoogleMaps\Map Block has a "Markers" Input Parameter that's a list of markers. I'm not sure what you mean by "Maps Marker argument can put only one".

Are one of the variables static?   or is this a GPS application but keeps both images on the screen etc?

Can you make a new variable out of the first one, and then create the second?  



Thanks for the reply.

And I apologize, I did not make myself clear. 

My current situation is shown in Fig.1 and I want to display like Fig.2.

I indicate action detail is in Fig.3 and I indicate GoogleMaps\Map Block information in Fig.4.


>Are one of the variables static? or is this a GPS application but keeps both images on the screen etc?

I could display current position and previously created marker on the Map.

But they are displayed as same signals on it.

How to display distinguished Current position from previously created marker by form or color?


>Can you make a new variable out of the first one, and then create the second?  

I have no idea.

I look forward to hearing back from you. 

Solution

If you need a different icon for a certain position, use the IconURL Attribute of the MapMarker Structure.

Solution

Hi Kilian,

Thank you very much for your kind support. 

The problem is solved. 

Thank you also Beau.


Hi Nariyasu,

Thanks for the feedback, good to hear your problem's solved. Happy coding!