...
Consructor | |
---|---|
LatLngBounds(sw: LatLng | LatLngLiteral, ne: LatLng | LatLngLiteral) | Constructs a rectangle from the points at its south-west (sw) and north-east (ne) corners |
...
Methods | |
---|---|
getCenter() | Return value: LatLng Computes the center of this LatLngBounds |
getNorthEast() | Return value: LatLng Returns the north-east corner of this bounds |
getSouthWest() | Return value: LatLng Returns the south-west corner of this bounds |
toJSON() | Return value: LatLngBoundsLiteral Converts to JSON representation. This function is intended to be used via JSON.stringify |
toUrlValue() | Return value: string Returns a string of the form "lat_lo,lng_lo,lat_hi,lng_hi" for this bounds, where "lo" corresponds to the southwest corner of the bounding box, while "hi" corresponds to the northeast corner of that box. |
...
Properties | |
---|---|
address | Type: string Search string. Required for geocoding |
bounds | Type: LatLngBounds Search bounds. Required for geocoding |
location | Type: LatLng Location. Required for reverse geocoding |
limit | Type: integer Limit output results |
...
navmii.maps.interfaces.GeocoderResult object specification
Extends BaseResponse
Properties | |
---|---|
items | Type: Array<NavmiiLookupResponseItem> |
GeocoderStatus constants
...
Properties | |
---|---|
location | Type: string | LatLng | LatLngLiteral Waypoint location |
DirectionsRequest object specification
...
Properties | |
---|---|
destination | Type: string | LatLng | LatLngLiteral Location of destination |
origin | Type: string | LatLng | LatLngLiteral Location of origin |
waypoints | Type: Array<DirectionsWaypoint> Array of intermediate waypoints. Directions will be calculated from the origin to the destination by way of each waypoint in this array. Optional |
bearings | Type: Array<integer> | string Array of bearings. Limits the search to segments with given bearing in degrees towards true north in clockwise direction. Optional. |
profile | Type: DrivingProfile Mode of transportation. Typically driving, fastest, shortest, fastest_notolls, shortest_notolls. Optional. |
radiuses | Type: Array<integer> | string Array of radiuses. Limits the search to given radius in meters. Optional. |
alternatives | Type: boolean | integer Search for alternative routes. Passing a number alternatives=n searches for up to n alternative routes. |
...
Properties | |
---|---|
geometry | Type: string | RouteGeometry |
duration | Type: integer |
distance | Type: integer |
legs | Type: Array<OsmRouteLeg> |
RouteGeometry object specification
...
Properties | |
---|---|
summary | Type: string |
duration | Type: integer |
distance | Type: integer |
steps | Type: Array<OsmRouteStep> |
OsmRouteStep object specification
...
Properties | |
---|---|
name | Type: string |
geometry | Type: string |
duration | Type: integer |
distance | Type: integer |
mode | Type: string |
maneuver | Type: Array<OsmRouteManeuver> |
OsmRouteManeuver object specification
...
navmii.maps.interfaces.DirectionsResult object specification
Extends BaseResponse
Properties | |
---|---|
code | Type: string |
routes | Type: Array<OsmRoute> |
waypoints | Type: Array<OsmRouteWaypoint> |
SearchRequest object specification
...
Properties | |
---|---|
top | Type: integer |
q | Type: string |
location | Type: LatLng | LatLngLiteral |
r | Type: integer |
searchFor | Type: SearchFor |
SearchFor constants
...
navmii.maps.interfaces.SearchFor constants
...
Properties | |
---|---|
categories | Type: Array<Category> |
items | Type: Array<SearchResultItem> |
Category object specification
...
Constructors | |
---|---|
DirectionsRenderer(opts: DirectionsResult) |
Methods | |
---|---|
setDirections(directions: DirectionsResult) | Return value: void |
setMap(map: Map) | Return value: void |
DirectionsRendererOptions object specification
...
navmii.maps.interfaces.DirectionsRendererOptions object specification
Properties | |
---|---|
map | Type: Map |
directions | Type: DirectionsResult |
draggable | Type: boolean |
Events | |
---|---|
onMarkerDragEnd |
dummy class
navmii.maps.interfaces.dummy class
...
Return value: void
dummy class
navmii.maps.interfaces.dummy class
...
Return value: void