|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.imag.adele.util.location.MapServerUtil
this class provides methods to format location, coordinates and map server
links for following formats: (Plain)Text, Html, Xml, JavaScript
TODO:
Field Summary | |
static int[] |
scales
This array contains scales for maps for listMaps* methods |
Constructor Summary | |
MapServerUtil()
|
Method Summary | |
static StringBuffer |
listMapsInHtml(StringBuffer sb,
float latitude,
float longitude,
int width,
int height,
int[] scales)
formats links to map servers in HTML |
static StringBuffer |
listMapsInJavascript(StringBuffer sb,
float latitude,
float longitude,
int width,
int height,
int[] scales)
formats links to map servers in JavaScript |
static StringBuffer |
listMapsInXml(StringBuffer sb,
float latitude,
float longitude,
int width,
int height,
int[] scales)
formats links to map servers in XML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int[] scales
Constructor Detail |
public MapServerUtil()
Method Detail |
public static StringBuffer listMapsInHtml(StringBuffer sb, float latitude, float longitude, int width, int height, int[] scales)
sb
- a StringBuffer to append result (could be null)latitude
- the latitude of the maps centerlongitude
- the longitude of the maps centerwidth
- the width of the image (in pixels)height
- the height of the image (in pixels)scales
- an array of scales
public static StringBuffer listMapsInXml(StringBuffer sb, float latitude, float longitude, int width, int height, int[] scales)
sb
- a StringBuffer to append result (could be null)latitude
- the latitude of the maps centerlongitude
- the longitude of the maps centerwidth
- the width of the image (in pixels)height
- the height of the image (in pixels)scales
- an array of scales
public static StringBuffer listMapsInJavascript(StringBuffer sb, float latitude, float longitude, int width, int height, int[] scales)
sb
- a StringBuffer to append result (could be null)latitude
- the latitude of the maps centerlongitude
- the longitude of the maps centerwidth
- the width of the image (in pixels)height
- the height of the image (in pixels)scales
- an array of scales
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |