public class MainApp extends javafx.application.Application implements MapComponentInitializedListener, ElevationServiceCallback, GeocodingServiceCallback, DirectionsServiceCallback
| Modifier and Type | Field and Description |
|---|---|
protected DirectionsPane |
directions |
protected GoogleMap |
map |
protected GoogleMapView |
mapComponent |
| Constructor and Description |
|---|
MainApp() |
| Modifier and Type | Method and Description |
|---|---|
void |
directionsReceived(DirectionsResult results,
DirectionStatus status) |
void |
elevationsReceived(ElevationResult[] results,
ElevationStatus status) |
void |
geocodedResultsReceived(GeocodingResult[] results,
GeocoderStatus status) |
static void |
main(String[] args)
The main() method is ignored in correctly deployed JavaFX application.
|
void |
mapInitialized() |
void |
start(javafx.stage.Stage stage) |
protected GoogleMapView mapComponent
protected GoogleMap map
protected DirectionsPane directions
public void start(javafx.stage.Stage stage)
throws Exception
start in class javafx.application.ApplicationExceptionpublic void mapInitialized()
mapInitialized in interface MapComponentInitializedListenerpublic static void main(String[] args)
args - the command line argumentspublic void elevationsReceived(ElevationResult[] results, ElevationStatus status)
elevationsReceived in interface ElevationServiceCallbackpublic void geocodedResultsReceived(GeocodingResult[] results, GeocoderStatus status)
geocodedResultsReceived in interface GeocodingServiceCallbackpublic void directionsReceived(DirectionsResult results, DirectionStatus status)
directionsReceived in interface DirectionsServiceCallbackCopyright © 2016. All Rights Reserved.