de.fhpotsdam.unfolding.mapdisplay
Class MapDisplayFactory
java.lang.Object
de.fhpotsdam.unfolding.mapdisplay.MapDisplayFactory
public class MapDisplayFactory
- extends java.lang.Object
A factory to create MapDisplays for the UnfoldingMap, depending on specified map features.
Method Summary |
static AbstractMapProvider |
getDefaultProvider()
|
static AbstractMapDisplay |
getMapDisplay(processing.core.PApplet p,
java.lang.String id,
float x,
float y,
float width,
float height,
AbstractMapProvider provider,
UnfoldingMap map,
java.lang.String renderer)
|
static AbstractMapDisplay |
getMapDisplay(processing.core.PApplet p,
java.lang.String id,
float x,
float y,
float width,
float height,
boolean useMask,
boolean useDistortion,
AbstractMapProvider provider,
UnfoldingMap map,
java.lang.String renderer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPEN_GL_CLASSNAME
public static final java.lang.String OPEN_GL_CLASSNAME
- See Also:
- Constant Field Values
DEFAULT_USE_MASK
public static final boolean DEFAULT_USE_MASK
- See Also:
- Constant Field Values
DEFAULT_USE_DISTORTION
public static final boolean DEFAULT_USE_DISTORTION
- See Also:
- Constant Field Values
OSM_API_KEY
public static final java.lang.String OSM_API_KEY
- See Also:
- Constant Field Values
OSM_STYLE_ID
public static final int OSM_STYLE_ID
- See Also:
- Constant Field Values
MapDisplayFactory
public MapDisplayFactory()
getMapDisplay
public static AbstractMapDisplay getMapDisplay(processing.core.PApplet p,
java.lang.String id,
float x,
float y,
float width,
float height,
AbstractMapProvider provider,
UnfoldingMap map,
java.lang.String renderer)
getMapDisplay
public static AbstractMapDisplay getMapDisplay(processing.core.PApplet p,
java.lang.String id,
float x,
float y,
float width,
float height,
boolean useMask,
boolean useDistortion,
AbstractMapProvider provider,
UnfoldingMap map,
java.lang.String renderer)
getDefaultProvider
public static AbstractMapProvider getDefaultProvider()