pubnub / eon-map

Realtime maps with PubNub and MapBox.
https://www.pubnub.com/developers/eon/
MIT License
135 stars 51 forks source link

Is it possible for custom html marker popups or onclick listeners for marker popups? #7

Closed techscientist closed 8 years ago

techscientist commented 8 years ago

Hi,

This project is awesome, and I'm currently using this framework to build a realtime dispatch system. The web app uses angularjs. So I was wondering if it was possible for a maker popup to have custom html instead of just text. Or, is there an onclick listener for marker popups? I need to show relative information when the person clicks on a popup.

Thanks for helping

ianjennings commented 8 years ago

Checkout the MapBox documentation here: https://www.mapbox.com/mapbox.js/example/v1.0.0/clicks-in-popups/