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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

How to bind widgets to google map

fmanniti
10-Marble

How to bind widgets to google map

I've seen that some Google map widget properties are bindable but I don't understand how.

I want to bind a checkbox to "Show region" property so that I can choose runtime weather show or not my regions; or I want to bind a slider to the opacity in order to change the opacity of the region while runtime.

The thing is, if I change the value of the widget, nothing happens on the google widget unless I refresh the page.

ACCEPTED SOLUTION

Accepted Solutions
Aanjan
12-Amethyst
(To:fmanniti)

Fabio, I don't believe you see the changes getting reflected immediately at runtime. The map is usually drawn when the page loads initially, and won't reflect any changes until it gets redrawn (which is usually a page reload or navigating away and coming back).

View solution in original post

3 REPLIES 3
PaiChung
22-Sapphire I
(To:fmanniti)

For the opacity that looks to be a bug.

Please submit that as a ticket.

Aanjan Ravi

Aanjan
12-Amethyst
(To:fmanniti)

Fabio, I don't believe you see the changes getting reflected immediately at runtime. The map is usually drawn when the page loads initially, and won't reflect any changes until it gets redrawn (which is usually a page reload or navigating away and coming back).

fmanniti
10-Marble
(To:Aanjan)

Ok, that's what I supposed. Thank you for your answer

Announcements


Top Tags