public class MapItemCapturePP extends ImageryCapturePP
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,android.graphics.Bitmap> |
_bitmapCache |
protected int |
_featureQueryLimit |
protected FOVFilter |
_fovFilter |
protected CustomGrid |
_grid |
protected java.util.List<MapItem> |
_items |
protected java.util.Map<java.lang.String,android.os.Bundle> |
_pointData |
protected static java.util.Comparator<MapItem> |
MAP_ITEM_COMP |
_bounds, _capParams, _center, _dateStamp, _drawRes, _imprecise, _imprHeight, _imprWidth, _location, _mapRange, _mapView, _prefs, _scaleFull, _scaleSeg, _scratchPoint, _tileCap, _title, _unwrap
_borderWidth, _can, _dashStyle, _dotStyle, _dp, _fontSize, _height, _iconSize, _labelSize, _lineWeight, _mapRes, _mapScale, _paint, _path, _pdFontSize, _pdLabelSize, _width, DEFAULT_MIN_RENDER_SCALE
Constructor and Description |
---|
MapItemCapturePP(MapView mapView,
TileCapture tc,
ImageryCaptureParams cp) |
Modifier and Type | Method and Description |
---|---|
void |
calcForwardPositions()
Needs to be called right when capture is started
|
boolean |
drawElements(android.graphics.Canvas can)
Draw map items on top of the imagery
|
protected void |
drawFittedGrid()
Draw fitted grid to canvas
|
protected void |
drawMapItem(MapItem mi)
Draw a map item to the imagery bitmap
|
java.util.Set<MapItem> |
getAllItems(MapGroup group,
FOVFilter filter) |
double |
getHorizontalRange() |
java.util.List<MapItem> |
getItems(GeoBounds bounds) |
double |
getVerticalRange() |
void |
init() |
android.graphics.Bitmap |
loadBitmap(java.lang.String uri)
Load icon bitmap from cache
Cache is released after window is closed
|
createBitmap, createPreview, forward, getBounds, getDateStamp, getDisplayUnit, getHeight, getLocation, getMapRange, getMapScaleDisplay, getMapScaleSegment, getResolution, getThemeColor, getWidth, setDrawingParameters, setDrawRes, setInfo, setMapScale, snapToGrid, writeKML, writeKML
dp, dr, drawLabel, drawLabel, getCanvas, getDashed, getDisplayPoint, getDotted, getFontSize, getIconSize, getLabelSize, getLineWeight, getMapResolution, getPaint, getPath, inside, resetPaint, shouldDrawLabel, shouldDrawLabel, toInt
protected static final java.util.Comparator<MapItem> MAP_ITEM_COMP
protected final CustomGrid _grid
protected final java.util.Map<java.lang.String,android.os.Bundle> _pointData
protected final java.util.Map<java.lang.String,android.graphics.Bitmap> _bitmapCache
protected java.util.List<MapItem> _items
protected FOVFilter _fovFilter
protected int _featureQueryLimit
public MapItemCapturePP(MapView mapView, TileCapture tc, ImageryCaptureParams cp)
public void init()
public android.graphics.Bitmap loadBitmap(java.lang.String uri)
loadBitmap
in class CapturePP
uri
- Icon uri as a stringpublic boolean drawElements(android.graphics.Canvas can)
drawElements
in class ImageryCapturePP
can
- Canvas to draw toprotected void drawMapItem(MapItem mi)
mi
- Map itemprotected void drawFittedGrid()
public double getHorizontalRange()
public double getVerticalRange()
public void calcForwardPositions()
public java.util.List<MapItem> getItems(GeoBounds bounds)