Closed larrywelch closed 7 years ago
I was able to determine what I was doing wrong. I know understand that I need to register for a MapPushPin events using MapEvents.AddHandler(pin, "click", mapPinClickEventHandler); And it's in that handler that I can display the MapInfoBox.
Having an issue with the event args but it's not related to the MapInfoBox so I'm going to close this issue and open a new one.
I'd like to add an event handler to the MapInfoBox. It looks like I would do that through the MapInfoBoxOptions.Actions. However, the MapInfoBoxAction defines the EventHandler property as a string. Am I missing something? Is there another way to register for events?