@Deprecated public class CartoDbVectorLayer extends com.nutiteq.vectorlayers.GeometryLayer
Modifier and Type | Class and Description |
---|---|
protected class |
CartoDbVectorLayer.LoadCartoDataTask
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static String |
TAG_WEBMERCATOR
Deprecated.
|
Constructor and Description |
---|
CartoDbVectorLayer(com.nutiteq.projections.Projection proj,
String account,
String sql,
com.nutiteq.style.StyleSet<com.nutiteq.style.PointStyle> pointStyleSet,
com.nutiteq.style.StyleSet<com.nutiteq.style.LineStyle> lineStyleSet,
com.nutiteq.style.StyleSet<com.nutiteq.style.PolygonStyle> polygonStyleSet)
Deprecated.
CartoDB datasource connector, based on general query
|
Modifier and Type | Method and Description |
---|---|
void |
calculateVisibleElements(com.nutiteq.components.Envelope envelope,
int zoom)
Deprecated.
|
protected com.nutiteq.ui.Label |
createLabel(Map<String,String> userData)
Deprecated.
|
void |
loadData(com.nutiteq.components.Envelope envelope,
int zoom)
Deprecated.
|
add, addAll, calculateVisibleElements, clear, createCullTask, elementUpdated, executeVisibilityCalculationTask, getCurrentZoomLevel, getDataExtent, getDataSource, getVisibleElements, loadVisibleElements, onElementChanged, onStartMapping, onStopMapping, registerDataSourceListeners, remove, removeAll, setComponents, setProjection, setRenderProjection, setVisible, setVisibleElements, setVisibleElementsList, unregisterDataSourceListeners, updateVisibleElements
public static final String TAG_WEBMERCATOR
public CartoDbVectorLayer(com.nutiteq.projections.Projection proj, String account, String sql, com.nutiteq.style.StyleSet<com.nutiteq.style.PointStyle> pointStyleSet, com.nutiteq.style.StyleSet<com.nutiteq.style.LineStyle> lineStyleSet, com.nutiteq.style.StyleSet<com.nutiteq.style.PolygonStyle> polygonStyleSet)
proj
- layer projection. NB! data must be in the same projectionaccount
- your CartoDB account namesql
- SQL which requests data. Include " && ST_SetSRID('BOX3D(!bbox!)'::box3d, 3857)" for bounding box filter.
Suggested to include have 'LIMIT 1000' statement to limit number of objectspointStyleSet
- styleset for point objectslineStyleSet
- styleset for line objectspolygonStyleSet
- styleset for polygon objectsIOException
- file not found or other problem opening OGR datasourcepublic void calculateVisibleElements(com.nutiteq.components.Envelope envelope, int zoom)
calculateVisibleElements
in class com.nutiteq.vectorlayers.VectorLayer<com.nutiteq.geometry.Geometry>
public void loadData(com.nutiteq.components.Envelope envelope, int zoom)
Copyright © 2014. All rights reserved.