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

com.google.gwt.maps.client.layers.FusionTablesStyle Maven / Gradle / Ivy

There is a newer version: 3.10.0-alpha-7
Show newest version
package com.google.gwt.maps.client.layers;

/*
 * #%L
 * GWT Maps API V3 - Core API
 * %%
 * Copyright (C) 2011 - 2012 GWT Maps API V3
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
 */

import com.google.gwt.core.client.JavaScriptObject;

/**
 * Controls the appearance of a set of features within a FusionTablesLayer. Features which match the provided SQL
 * predicate will be styled with the supplied options. 
*
* See FusionTablesStyle API * Doc */ public class FusionTablesStyle extends JavaScriptObject { /** * use newInstance(); */ protected FusionTablesStyle() { } /** * creates - Controls the appearance of a set of features within a FusionTablesLayer. Features which match the * provided SQL predicate will be styled with the supplied options. */ public final static FusionTablesStyle newInstance() { return JavaScriptObject.createObject().cast(); } /** * sets Options which control the appearance of point features. * * @param markerOptions */ public final native void setMarkerOptions(FusionTablesMarkerOptions markerOptions) /*-{ this.markerOptions = markerOptions; }-*/; /** * gets Options which control the appearance of point features. */ public final native FusionTablesMarkerOptions getMarkerOptions() /*-{ return this.markerOptions; }-*/; /** * sets Options which control the appearance of polygons. * * @param polygonOptions */ public final native void setPolygonOptions(FusionTablesPolygonOptions polygonOptions) /*-{ this.polygonOptions = polygonOptions; }-*/; /** * gets Options which control the appearance of polygons. */ public final native FusionTablesPolygonOptions getPolygonOptions() /*-{ return this.polygonOptions; }-*/; /** * sets Options which control the appearance of polylines. * * @param polylineOptions */ public final native void setPolylineOptions(FusionTablesPolylineOptions polylineOptions) /*-{ this.polylineOptions = polylineOptions; }-*/; /** * gets Options which control the appearance of polylines. */ public final native FusionTablesPolylineOptions getPolylineOptions() /*-{ return this.polylineOptions; }-*/; /** * sets The SQL predicate to be applied to the layer. * * @param where */ public final native void setWhere(String where) /*-{ this.where = where; }-*/; /** * gets The SQL predicate to be applied to the layer. */ public final native String getWhere() /*-{ return this.where; }-*/; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy