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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Add polygon to google map in mashup

DD_7886593
7-Bedrock

Add polygon to google map in mashup

Hello,

I would like to add polygon or heatmap to the google map in mashup.

Is is possible to add using data from data shape ?

kml-circle_1.png

snapshot15.png

2 REPLIES 2
dupatel
19-Tanzanite
(To:DD_7886593)

David Daud​: I believe we do not have directly feature in existing google map widget to create Heatmaps. Do you want to change the marker to appear in some specific polygon image if so then can create a media type entity using the polygon shape which could be used in MarkerStyle.

-Durgesh

wposner-2
14-Alexandrite
(To:DD_7886593)

You can implement polygons using the region functionality which is included in the out of the box google maps widget.  You just need to create an infotable that contains a param of type "location".  Each lat,long location point that you define in your infotable becomes a point in your polygon.  You bind this infotable to the "RegionLocation" parameter in the google maps widget.

To add a heatmap, you will need to customize the google maps widget to enable that functionality.  You'll need to add functions in the widget javascript to display the heatmap.  You'll also probably need a new data binding property for the heatmap data.  If you study the ide and runtime javascript code, you should easily be able to figure out how to add all the extra services and data binds.

Announcements


Top Tags