Search in sources :

Example 1 with LeafletCircleState

use of org.vaadin.addon.leaflet.shared.LeafletCircleState in project v-leaflet by mstahv.

the class LeafletCircleMarkerConnector method createOptions.

@Override
protected CircleMarkerOptions createOptions() {
    CircleMarkerOptions o = super.createOptions();
    LeafletCircleState s = getState();
    if (s.radius != null) {
        o.setRadius(s.radius);
    }
    return o;
}
Also used : LeafletCircleState(org.vaadin.addon.leaflet.shared.LeafletCircleState) CircleMarkerOptions(org.peimari.gleaflet.client.CircleMarkerOptions)

Aggregations

CircleMarkerOptions (org.peimari.gleaflet.client.CircleMarkerOptions)1 LeafletCircleState (org.vaadin.addon.leaflet.shared.LeafletCircleState)1