Hi @paul.k.pallaghy,
Yes, you can display text in response to clicks and mouseovers on GoogleMap
circle objects.
Here’s a clone link that shows both hover and click events in action:
https://anvil.works/build#clone:UXOS7MQ2FPH24UP5=ZZAOFSZ3ASHNEB4WE6PL2CCB
I’m displaying text in an Info Window and I’ve also used the GoogleMap.geocode
function to look up an address for the lat/long of the selected circle object, to display in the Info Window.
GoogleMap
circles are GoogleMap.Data.Feature
objects and therefore the map
events that start with ‘data_x’ are the events you’re looking for.
In your JS example above, the mouseover
and mouseout
events are the equivalent of the data_mouseover
and data_mouseout
events on an Anvil GoogleMap
component.