Package provided.owlMaps.demo.view
Interface IView2ModelAdapter<TPlacesDropListItem>
- Type Parameters:
TPlacesDropListItem
- The type of item held by the view's combobox of places
public interface IView2ModelAdapter<TPlacesDropListItem>
The adapter from the demo view to its model
- Author:
- swong
-
Method Summary
Modifier and Type Method Description void
addGeoJson()
Load GeoJSON data from a Stringvoid
exit()
Quit the demo applicationvoid
goToLatLng(java.lang.String latStr, java.lang.String lngStr)
Move the map to the given latitude and longitudevoid
goToPlace(TPlacesDropListItem place)
Go to the given place selected from the places combobox.void
loadGeoJson()
Load GeoJSON data from a URLvoid
makeCircle(java.lang.String latStr, java.lang.String lngStr)
Make a circle at the the given latitude and longitudevoid
makeInfoWin(java.lang.String latStr, java.lang.String lngStr)
Make an info window at the the given latitude and longitudevoid
makeOverlay(java.lang.String latStr, java.lang.String lngStr)
Make a ground overlay at the the given latitude and longitudevoid
makePolygon(java.lang.String latStr, java.lang.String lngStr)
Make a polygon at the the given latitude and longitudevoid
makePolyline(java.lang.String latStr, java.lang.String lngStr)
Make a polyline at the the given latitude and longitudevoid
makeRectangle(java.lang.String latStr, java.lang.String lngStr)
Make a rectangle at the the given latitude and longitudevoid
resetMap()
Test method -- not fully implemented yet.
-
Method Details
-
exit
void exit()Quit the demo application -
goToLatLng
void goToLatLng(java.lang.String latStr, java.lang.String lngStr)Move the map to the given latitude and longitude- Parameters:
latStr
- The desired latitude as a stringlngStr
- The desired longitude as a string
-
makeInfoWin
void makeInfoWin(java.lang.String latStr, java.lang.String lngStr)Make an info window at the the given latitude and longitude- Parameters:
latStr
- The desired latitude as a stringlngStr
- The desired longitude as a string
-
makePolygon
void makePolygon(java.lang.String latStr, java.lang.String lngStr)Make a polygon at the the given latitude and longitude- Parameters:
latStr
- The desired latitude as a stringlngStr
- The desired longitude as a string
-
makePolyline
void makePolyline(java.lang.String latStr, java.lang.String lngStr)Make a polyline at the the given latitude and longitude- Parameters:
latStr
- The desired latitude as a stringlngStr
- The desired longitude as a string
-
makeRectangle
void makeRectangle(java.lang.String latStr, java.lang.String lngStr)Make a rectangle at the the given latitude and longitude- Parameters:
latStr
- The desired latitude as a stringlngStr
- The desired longitude as a string
-
makeCircle
void makeCircle(java.lang.String latStr, java.lang.String lngStr)Make a circle at the the given latitude and longitude- Parameters:
latStr
- The desired latitude as a stringlngStr
- The desired longitude as a string
-
resetMap
void resetMap()Test method -- not fully implemented yet. -
makeOverlay
void makeOverlay(java.lang.String latStr, java.lang.String lngStr)Make a ground overlay at the the given latitude and longitude- Parameters:
latStr
- The desired latitude as a stringlngStr
- The desired longitude as a string
-
loadGeoJson
void loadGeoJson()Load GeoJSON data from a URL -
addGeoJson
void addGeoJson()Load GeoJSON data from a String -
goToPlace
Go to the given place selected from the places combobox.- Parameters:
place
- The place to go to
-