Ticket #947 (closed feature: fixed)
Allow Custom Popup for Feature
| Reported by: | euzuro | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.5 Release |
| Component: | Feature | Version: | 2.4 |
| Keywords: | Cc: | ||
| State: |
Description
Right now the default popup for an OpenLayers.Feature is OpenLayers.Popup.AnchoredBubble. Which is fine, since that's basically our prettiest popup at this point.
It shouldn't however, be the only option. We should allow the user to swap it for another OpenLayers.Popup, including perhaps one of his/her choice.
To do this, we simply add a 'popupClass' api-property to the Feature.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

