de.fhpotsdam.unfolding.mapdisplay
Class MapDisplayFactory

java.lang.Object
  extended by 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.


Field Summary
static boolean DEFAULT_USE_DISTORTION
           
static boolean DEFAULT_USE_MASK
           
static java.lang.String OPEN_GL_CLASSNAME
           
static java.lang.String OSM_API_KEY
           
static int OSM_STYLE_ID
           
 
Constructor Summary
MapDisplayFactory()
           
 
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
 

Field Detail

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
Constructor Detail

MapDisplayFactory

public MapDisplayFactory()
Method Detail

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()