cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

multi markers with google map extension

DD_7886593
Guest

multi markers with google map extension

Hi, I would like to insert geolocation positions into a google map in the mashup.

1/ I start to get the data from my service with output INFOTABLE

Screenshot-2017-10-24 ThingWorx Composer.png

2/ I insert a googlemap widget into the mashup and I inseted all returned data into the googlemap widget:

Screenshot-2017-10-24 ThingWorx Composer(1).png

Should I choose Location type from the data shape for the fields?

3 REPLIES 3

Re: multi markers with google map extension

Hi David, you will need to convert the separate fields into a single location type field.  You can do this via service and using the following structure for location type...

var location = new Object();

location.latitude = 0;

location.longitude = 0;

location.elevation = 0;

location.units = "WGS84";

Thanks,

Adam

Re: multi markers with google map extension

Hi Adam,

Could you check this with please :

Screenshot-2017-10-25 ThingWorx Composer.png

I got this when I choose data shape type as location.

Re: multi markers with google map extension

David,

Could you post (or message me) the service code?  Or is this coming from an external (to Thingworx) data source?  This would be the quickest way to assist.

Thanks,

Adam

Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.