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

org.gwtopenmaps.openlayers.client.layer.Boxes Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
package org.gwtopenmaps.openlayers.client.layer;

import org.gwtopenmaps.openlayers.client.marker.Box;
import org.gwtopenmaps.openlayers.client.util.JSObject;

/**
* 

* Boxes is only maintained for backwards compatibility, as explained here. * Alternatively, use Vector Layers, as described here. *

* * @author Michel Vitor A Rodrigues */ public class Boxes extends Markers { protected Boxes(JSObject boxes) { super(boxes); } public Boxes narrowToBoxes(JSObject boxes){ return (boxes == null)?null:new Boxes(boxes); } public Boxes(String name, BoxesMarkersOptions options) { this(BoxesImpl.create(name, options.getJSObject())); } public Boxes(String name) { this(BoxesImpl.create(name)); } public void drawMarker(Box marker){ BoxesImpl.drawMarker(getJSObject(), marker); } public void removeMarker(Box marker){ BoxesImpl.removeMarker(getJSObject(), marker); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy