Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

TypeLatLngBounds

Search bounds. Required for geocoding

location

TypeLatLng

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

originType: string | LatLng LatLngLiteral

Location of origin

waypointsType: 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.
Example: "60,120" or "60;120" or [60, 120]

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.
Example: "1000,500" or "1000;500" or [1000, 500]

alternatives

Type: boolean | integer

Search for alternative routes. Passing a number alternatives=n searches for up to n alternative routes.
Optional.

...

Properties
geometry

Type: string | RouteGeometry

durationType: integer
distanceType: integer
legsType: Array<OsmRouteLeg>


RouteGeometry object specification

...

Properties
summary

Type: string

durationType: integer
distanceType: integer
stepsType: Array<OsmRouteStep>


OsmRouteStep object specification

...

Properties
name

Type: string

geometryType: string
durationType: integer
distanceType: integer
modeType: string
maneuverType: Array<OsmRouteManeuver>


OsmRouteManeuver object specification

...

navmii.maps.interfaces.DirectionsResult object specification

Extends BaseResponse

Properties
code

Type: string

routesType: Array<OsmRoute>
waypointsType: Array<OsmRouteWaypoint>


SearchRequest object specification

...

Properties
top

Type: integer

qType: string
locationType: LatLng LatLngLiteral

r

Type: integer

searchFor

Type: SearchFor


SearchFor constants

...

navmii.maps.interfaces.SearchFor constants

...

Properties
categories

Type: Array<Category>

itemsType: 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

directionsType: DirectionsResult
draggableType: boolean


Events
onMarkerDragEnd

dummy class

navmii.maps.interfaces.dummy class

...

Return value: void

dummy class

navmii.maps.interfaces.dummy class

...

Return value: void