All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wicketstuff.openlayers3.api.overlay.PopoverOverlay Maven / Gradle / Ivy

The newest version!
package org.wicketstuff.openlayers3.api.overlay;

import org.wicketstuff.openlayers3.component.MarkerPopover;

/**
 * Provides an object that models a map overlay containing a popover.
 */
public class PopoverOverlay extends Overlay {

    /**
     * Creates a new instance.
     *
     * @param markerPopover
     *         The marker and popover linked to this overlay
     */
    public PopoverOverlay(MarkerPopover markerPopover) {
        super(markerPopover, markerPopover.getPositionModel().getObject(), DEFAULT_POSITIONING, DEFAULT_STOP_EVENT);
    }

    @Override
    public String getJsId() {
        return "popover_overlay_" + element.getMarkupId();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy