|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.maryanovsky.map.client.google.GoogleMaps
public final class GoogleMaps
Support for Google Maps. Note that if you want to actually show Google Maps on your website, you will need to get permission from Google. This is not legal advice, but according to my understanding, registering for a Google Maps API key is currently sufficient.
| Field Summary | |
|---|---|
static Projection |
MERCATOR_PROJECTION
The mercator projection used by Google Maps. |
| Method Summary | |
|---|---|
static void |
createGlobalInstance(String apiKey)
Creates the global GoogleMaps instance using the specified
Google Maps API key. |
static GoogleMaps |
getInstance()
Returns the global GoogleMaps instance. |
static GoogleMaps |
getInstance(String apiKey)
Returns a GoogleMaps instance with the specified Google Maps API
key. |
TileLayer |
getNormalTileLayer()
Returns the normal map tile layer. |
TileLayer |
getSatteliteTileLayer()
Returns the sattelite tile layer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Projection MERCATOR_PROJECTION
| Method Detail |
|---|
public static void createGlobalInstance(String apiKey)
GoogleMaps instance using the specified
Google Maps API key.
public static GoogleMaps getInstance()
GoogleMaps instance. Before this method is
invoked, the global instance must be created by calling
createGlobalInstance(String).
public static GoogleMaps getInstance(String apiKey)
GoogleMaps instance with the specified Google Maps API
key.
public TileLayer getNormalTileLayer()
public TileLayer getSatteliteTileLayer()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||