public class StaticMap extends Object implements Serializable
toString() to create
static map URL.| Modifier and Type | Class and Description |
|---|---|
static class |
StaticMap.Maptype |
| Constructor and Description |
|---|
StaticMap(int width,
int height,
String apiKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMarker(StaticMarker marker) |
void |
addPath(StaticPath path) |
int |
getHeight() |
int |
getHeightPoints() |
Locale |
getLocale() |
StaticMap.Maptype |
getMaptype() |
List<StaticMarker> |
getMarkers() |
List<StaticPath> |
getPaths() |
int |
getScale() |
int |
getWidth() |
int |
getWidthPoints() |
boolean |
hasContent() |
void |
setLocale(Locale locale) |
void |
setLocation(StaticLocation center,
int zoom) |
void |
setMaptype(StaticMap.Maptype maptype) |
void |
setMarkers(List<StaticMarker> markers) |
void |
setPaths(List<StaticPath> paths) |
void |
setScale(int scale) |
String |
toString()
Google-Map-Link
|
public StaticMap(int width,
int height,
String apiKey)
public int getScale()
public void setScale(int scale)
public void setLocation(StaticLocation center, int zoom)
public int getWidth()
public int getHeight()
public int getWidthPoints()
public int getHeightPoints()
public List<StaticMarker> getMarkers()
public void setMarkers(List<StaticMarker> markers)
public void addMarker(StaticMarker marker)
public List<StaticPath> getPaths()
public void setPaths(List<StaticPath> paths)
public void addPath(StaticPath path)
public StaticMap.Maptype getMaptype()
public void setMaptype(StaticMap.Maptype maptype)
public boolean hasContent()
public Locale getLocale()
public void setLocale(Locale locale)
Copyright © 2018. All rights reserved.