MOGOS Maps
console
  • Overview
  • API & COMPONENT
    • Maps
      • Map Control
        • Sources
        • Bounds
        • Zoom
        • Center
        • Rotate
        • Tilt
        • Flyto
        • Solid
        • Languages
        • Theme
        • Event Once
        • Event On/Off
      • Layer Control
        • Layers
        • Filters
        • Property
        • The specifation of layer style
          • Fill
          • Line
          • Circle
          • Symbol
      • Map UI
      • Map Utilities
        • Rectangle
        • Circle
        • Polyline
        • Polylgon
        • Area
        • Distance
        • Marker
          • Members
    • Search
      • Name
      • Category
      • Address
      • Postal Code
      • Geocoding
    • Route
      • General Vehicles
      • Motorbike
      • Bicycle
      • Pedestrian
      • Truck
      • Public Transportation
    • Logistics & Delivery
      • Route including multiple waypoints
      • Route as optimized order for multiple waypoints
      • Route as optimized order for transportation of logistics
      • Route as optimized order for delivery
      • Predicted route which is certain time in the future
    • Fleet Management
      • Realtime location tracking
      • Moving trajectory analysis
      • Driving road pattern analysis
      • Driver behavior analysis
      • Geofencing
      • Road snap
  • Help
    • Get your API Key
    • Troubleshooting
  • The last versions
    • MOGOS Maps API
      • MOGOS Maps API V1.0
Powered by GitBook

©MOGOS 2023

On this page
  • Request
  • Response
  1. API & COMPONENT
  2. Route

Bicycle

Search route for bicycle.

Method
Request
Response

GET

https://maps.mogoscorp.com/api/v2/route

Request

Parameter (Required)
Descripton
Remark

key

Your API Key.

string

origin

Start location

(Longitude, Latitude).

string

destination

Destination location

(Longitude, Latitude).

string

rpoption

Options for search route.

1: Recommended 1

int

cartype

Type of vehicle. 141: Bicycle 142: Tricycle

int

reqtype

Type of route request. 0: Initial RP request 1: Retry RP request on route deviation 2: User RP request 3: Periodic RP request 4: Request Route detail (Default: 0)

int

carspeed

Speed of vehicle. range: 0 ~ 255 (Default : 0)

int

angle

Angle of vehicle's direction. range : 0 ~ 359 (Default : 0)

int

unixtime

Time requested for search route

string

gmtoffset

Timezone

string

Parameter (Optional)
Description
Remark

traffic

Apply traffic information or not.

0: Ignore

1: Apply traffic information

(Default: 0)

int

pattern

Apply pattern information or not.

0: Ignore

1: Reflect traffic information

(Default: 0)

int

fueltype

Fuel type of vehicle. 0: Gasoline

1: Diesel

2. NGV

3: LPG

4: Hydrogen

5: Electric (Default : 0)

int

startname

The name of start location.

string

destname

The name of destination location.

string

waypoints

Waypoint location (Longitude, Latitude). For multiple waypoints, list them in order in the query string.

string

Example

https://maps.mogoscorp.com/api/v2/route?key=YOUR_API_KEY&origin=37.483294848898396,126.89654749206602&destination=37.51702306480502,127.0416190159097&angle=-1&rpoption=1&unixtime=1604626833&gmtoffset=32400&cartype=1

Response

Parameter
Description
Remark

Example

PreviousMotorbikeNextPedestrian

Last updated 2 years ago

The MOGOS Maps API requires an API Key, which can be obtained from the website or contact .

MOGOS Console
sales@mogoscorp.com