Examples
Each example is a running map with dock.js, with its code. Copy it and put your key in. One script tag.
Use cases
Delivery dispatchOrders one per line, as codes or addresses. A route from the depot in the order given. A line with no match stays not found.Same-day deliveryOne driver, ten orders, seven districts. The driving order and an arrival time at each stop. No traffic yet, and the page says so.Checkout addressOne input, suggestions from the third character. The picked door goes on the order with its code, official address and point.Guest pageA hotel entrance in Mongolian, English, Japanese, Korean, Chinese or Russian. A card for the taxi driver, the walk, a QR when the door has a code.Emergency dispatcherType or speak what the caller says. The dispatcher picks the place; confidence in large type, the route from the base.Outlet mapA bank or pharmacy chain's branches in the demo district. Green where a person confirmed the door; grey otherwise, never shown as a door.
Map
Add a mapdock’s map in one line: base map, roads, names, buildings, entrances.3D buildingsBuildings at their heights, from a tilted camera.Day and nightDay, dusk, dawn, night. At night windows light up by building type.Search boxAddresses, names and codes as people type them. Suggestions from the third character.Search controlThe search box on the map in one line: suggestions, the picked place's card and mark. All three search layers.Building code lookupA five-character code to its door. Codes go only to doors checked on site.Route to the entranceThe route ends at the entrance; the walk from the road comes apart.MarkersEvery search result as a marker on the map.PopupsClick the map: the address at that point in a popup.Live trackingA vehicle moves along its route and its marker follows. A simulated vehicle here.Fit boundsFit every search result in one view.Offline packCheck an offline pack file by file before using it: size, then sha256.Custom styleYour own colours: dock’s buildings and entrances in your style.Static imageThe map as one PNG from one address: for an e-mail, an order page or a chat, where no script runs. The picture follows the map, a pin in the middle.Light and dark with your dataGrey light and dark looks with your GeoJSON layer on top. Switch the look and the layer comes back. Here a bank's branches in the centre.Reverse geocodingClick a point: its district, khoroo and the places near it.Building under a tapThe building under a tap and the entrances near it, with their confidence.
Routing
IsochroneWhere a car gets in 5, 10 and 15 minutes.MatrixTimes from two couriers to three entrances: who is nearest.Optimized tripsA courier’s round: the order with the least time on the road.Map matchingGPS points snapped to the roads they were driven on.Road closuresToday’s road closures as partners reported them.