|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opengts.war.tools.MapProviderAdapter
org.opengts.war.maps.JSMap
org.opengts.war.maps.jsmap.GoogleMaps
public class GoogleMaps
| Field Summary |
|---|
| Fields inherited from class org.opengts.war.maps.JSMap |
|---|
DEFAULT_MAP_ID |
| Constructor Summary | |
|---|---|
GoogleMaps(java.lang.String name,
java.lang.String key)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getApiVersion()
Gets the API version |
java.lang.String[] |
getGeozoneInstructions(int type,
java.util.Locale loc)
Returns instructions for manipulating a Geozone |
int |
getGeozoneSupportedPointCount(int type)
Returns the number of supported points for the specified Geozone type |
java.lang.String |
getMapInitCallback()
Gets the map initialization callback (may be null) |
java.lang.String |
getMapOptions()
Gets the override map options |
boolean |
isVersion2()
Return true if using Google API v2 |
boolean |
isVersion3()
Return true if using Google API v3 |
boolean |
isVersionJS()
Return true if using Google API "js" |
void |
postInit()
Called after initialization of this MapProvider. |
boolean |
validate()
Performs simple validation checks on the authorization key, etc, and returns true is the validation was successful. |
protected void |
writeJSIncludes(java.io.PrintWriter out,
RequestProperties reqState)
|
protected void |
writeJSVariables(java.io.PrintWriter out,
RequestProperties reqState)
|
| Methods inherited from class org.opengts.war.maps.JSMap |
|---|
_skipPropKey, getMapID, writeJavaScript, writeJSIncludes, writeMapUpdate, writePushpinArray, writeStyle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GoogleMaps(java.lang.String name,
java.lang.String key)
| Method Detail |
|---|
public java.lang.String getApiVersion()
public boolean isVersion2()
public boolean isVersion3()
public boolean isVersionJS()
public java.lang.String getMapOptions()
public java.lang.String getMapInitCallback()
public void postInit()
postInit in class MapProviderAdapterpublic boolean validate()
MapProviderAdapter
validate in class MapProviderAdapter
protected void writeJSVariables(java.io.PrintWriter out,
RequestProperties reqState)
throws java.io.IOException
writeJSVariables in class JSMapjava.io.IOException
protected void writeJSIncludes(java.io.PrintWriter out,
RequestProperties reqState)
throws java.io.IOException
writeJSIncludes in class JSMapjava.io.IOExceptionpublic int getGeozoneSupportedPointCount(int type)
getGeozoneSupportedPointCount in interface MapProvidergetGeozoneSupportedPointCount in class MapProviderAdaptertype - The Geozone type
public java.lang.String[] getGeozoneInstructions(int type,
java.util.Locale loc)
MapProviderAdapter
getGeozoneInstructions in interface MapProvidergetGeozoneInstructions in class MapProviderAdaptertype - The Geozone typeloc - The current Locale
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||