Skip to main content
Jul 15, 2020 12:16 PM UTC
Solved

How to insert more than one marker on google maps widget

Hi everyone,

 

I have been working with google maps widget.

 

I am using this guide to orientation:

 

https://developer.thingworx.com/resources/guides/google-map-widget-how

 

I was able to insert just one marker on map, image below:

 

mapp.JPG

 

I'd like to insert more than one markers but i do not know how I do it

 

Can someone help me?

 

Regards,

Leonardo

Jul 15, 2020 2:56 PM UTC

@SathishkumarC 

 

I could to do it usind this kb:

 

https://www.ptc.com/en/support/article/CS221389?&language=en&posno=7&q=marker%20map&source=search

 

Thank you for all attention

 

Regards,

 

Leonardo

3 replies

Jul 15, 2020 12:38 PM UTC

How many  rows of data you mapped with map widget?

If multiple rows of data available it will show multiple marker. Or you can use state formatting option in map widget properties to enable multiple icons based on any field.

 

Regards,

Sathishkumar C.

Jul 15, 2020 1:54 PM UTC

Hi @SathishkumarC 

 

I have three rows of data that I'd like to show in my map.

 

Image below:

 

local.JPG

 

But I don't know how can I to bind these three data in the property "LocationField"