Package org.gwtopenmaps.openlayers.client.util

Examples of org.gwtopenmaps.openlayers.client.util.JObjectArray


        JSObject[] array = new JSObject[features.length];
        for (int i = 0 ; i< features.length; i++)
        {
            array[i] = features[i].getJSObject();
        }
        JObjectArray jobjectarray = new JObjectArray(array);
        getJSObject().setProperty("features", jobjectarray.getJSObject());
    }
View Full Code Here


     * Set the child filters for this filter.
     * @param filters Child filters for this filter.
     */
    public void setFilters(Filter[] filters)
    {
        JObjectArray array = new JObjectArray(filters);
        getJSObject().setProperty("filters", array.getJSObject());
    }
View Full Code Here

    protected Curve(JSObject element) {
        super(element);
    }

    public Curve(Point[] points) {
        this(CurveImpl.create((new JObjectArray(points)).getJSObject()));
    }
View Full Code Here

    /**
     *
     * @param layers
     */
    public SelectFeature(Vector[] layers) {
        this(SelectFeatureImpl.create2((new JObjectArray(layers)).getJSObject()));
    }
View Full Code Here

    /**
     *
     * @param layers
     */
    public SelectFeature(Vector[] layers, SelectFeatureOptions options) {
        this(SelectFeatureImpl.create2((new JObjectArray(layers)).getJSObject(),
                                       options.getJSObject()));
    }
View Full Code Here

    /**
     * Attach a new layer to the control, overriding any existing layers.
     * @param layers The layer(s) this control will select features from.
     */
    public void setLayers(Vector[] layers) {
        SelectFeatureImpl.setLayers(this.getJSObject(), (new JObjectArray(layers)).getJSObject());
    }
View Full Code Here

    protected MultiPolygon(JSObject element) {
        super(element);
    }

    public MultiPolygon(Polygon[] polygons) {
        this(MultiPolygonImpl.create((new JObjectArray(polygons)).getJSObject()));
    }
View Full Code Here

     *
     * @param layers
     */
    public void setLayers(Layer[] layers)
    {
        JObjectArray array = new JObjectArray(layers);
        getJSObject().setProperty("layers", array.getJSObject());
    }
View Full Code Here

TOP

Related Classes of org.gwtopenmaps.openlayers.client.util.JObjectArray

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.