public class VectorSource extends Source
| Constructor and Description |
|---|
VectorSource(long nativePtr)
Internal use
|
VectorSource(java.lang.String id,
java.lang.String url)
Create a vector source from a remote url
|
VectorSource(java.lang.String id,
TileSet tileSet)
Create a vector source from a tilset
|
VectorSource(java.lang.String id,
java.net.URL url)
Create a vector source from a remote url
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
protected void |
initialize(java.lang.String layerId,
java.lang.Object payload) |
java.util.List<Feature> |
querySourceFeatures(java.lang.String[] sourceLayerIds,
Filter.Statement filter)
Queries the source for features.
|
checkValidity, getId, getNativePtr, invalidate, nativeGetIdpublic VectorSource(long nativePtr)
nativePtr - - pointer to native peerpublic VectorSource(java.lang.String id,
java.net.URL url)
id - the source idurl - the urlpublic VectorSource(java.lang.String id,
java.lang.String url)
id - the source idurl - the urlpublic VectorSource(java.lang.String id,
TileSet tileSet)
id - the source idtileSet - the tilesetpublic java.util.List<Feature> querySourceFeatures(java.lang.String[] sourceLayerIds,
Filter.Statement filter)
sourceLayerIds - the source layer identifiers. At least one must be specified.filter - an optional filter statement to filter the returned Featuresprotected void initialize(java.lang.String layerId,
java.lang.Object payload)
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable