
public class LatLonGridlineOverlay2 extends Overlay
Overlay.SnappablemBounds, SHADOW_X_SKEW, SHADOW_Y_SCALEDEFAULT_ZOOMLEVEL_MINIMAP_DIFFERENCE, NOT_SET| Constructor and Description |
|---|
LatLonGridlineOverlay2() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Canvas c,
Projection pProjection) |
protected double |
getIncrementor(int zoom)
this gets the distance in decimal degrees in between each line on the grid based on zoom level.
|
void |
setBackgroundColor(int backgroundColor)
background color for the text labels
|
void |
setDecimalFormatter(DecimalFormat df) |
void |
setFontColor(int fontColor) |
void |
setFontSizeDp(short fontSizeDp) |
void |
setLineColor(int lineColor) |
void |
setLineWidth(float lineWidth) |
void |
setMultiplier(float multiplier)
default is 1, larger number = more lines on screen.
|
draw, drawAt, getBounds, getSafeMenuId, getSafeMenuIdSequence, isEnabled, onDetach, onDoubleTap, onDoubleTapEvent, onDown, onFling, onKeyDown, onKeyUp, onLongPress, onPause, onResume, onScroll, onShowPress, onSingleTapConfirmed, onSingleTapUp, onTouchEvent, onTrackballEvent, setEnabledpublic void draw(Canvas c, Projection pProjection)
public void setDecimalFormatter(DecimalFormat df)
public void setLineColor(int lineColor)
public void setFontColor(int fontColor)
public void setFontSizeDp(short fontSizeDp)
public void setBackgroundColor(int backgroundColor)
public void setLineWidth(float lineWidth)
public void setMultiplier(float multiplier)
protected double getIncrementor(int zoom)
zoom - mapview's osm zoom level