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 voidaddGeoJson()Load GeoJSON data from a Stringvoidexit()Quit the demo applicationvoidgoToLatLng(java.lang.String latStr, java.lang.String lngStr)Move the map to the given latitude and longitudevoidgoToPlace(TPlacesDropListItem place)Go to the given place selected from the places combobox.voidloadGeoJson()Load GeoJSON data from a URLvoidmakeCircle(java.lang.String latStr, java.lang.String lngStr)Make a circle at the the given latitude and longitudevoidmakeInfoWin(java.lang.String latStr, java.lang.String lngStr)Make an info window at the the given latitude and longitudevoidmakeOverlay(java.lang.String latStr, java.lang.String lngStr)Make a ground overlay at the the given latitude and longitudevoidmakePolygon(java.lang.String latStr, java.lang.String lngStr)Make a polygon at the the given latitude and longitudevoidmakePolyline(java.lang.String latStr, java.lang.String lngStr)Make a polyline at the the given latitude and longitudevoidmakeRectangle(java.lang.String latStr, java.lang.String lngStr)Make a rectangle at the the given latitude and longitudevoidresetMap()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
-