
內容簡介
路線規劃師可以計算世界各地汽車路線的不同數據,例如路線長度、行車時間、燃料量和費用等。
主要用途:
為駕車者提供路線規劃(在自己或租用的汽車上進行的娛樂或商務旅行)
根據路線長度計算您的服務的預估費用(運輸物流、運輸、搬家公司、卡車貨運、送貨、城市出租車、轉移等)
通過簡單的網頁表單,從任意點到您的旅遊景點(度假村、露營、酒店等)進行路線規劃。
還有其他用途,該外掛具有許多設置並可以適應其他情況。
功能
短代碼
可自定義設計
自動調整字體大小和字體系列
適用於移動設備
全球路線規劃(可選擇性地限制在某些國家/地區)
表單和結果中的區塊可開啟/關閉
按照您自己的公式進行價格計算
通過HTTPS、HTTP/2支持的異步加載
如果路線規劃服務器不可用,則安全地降級
輸入字段的自動完成
地圖上可以標注起始/終點位置
帶有錯誤更正的地理編碼器
在必應/Baidu地圖上顯示路線
通過拖放地圖來編輯路線
路線方案(包括道路類型和它們之間的行駛時間的城市列表)
高速公路和其他道路的分隔速度限制
支援11種語言:英語、法語、德語、西班牙語、葡萄牙語、捷克語、波蘭語、義大利語、馬來語、荷蘭語、土耳其語
支援3種計量系統:公制、美制、英制
支援多種貨幣:ARS、AUD、BRL、CAD、CHF、CLP、CNY、COP、CZK、DOP、EUR、GBP、INR、IRR、MXN、MYR、NGN、PEN、PHP、PLN、RUB、SEK、TRY、USD、VEF、ZAR
模式
外掛有兩種模式。這些模式可以在外掛設置頁面上切換。
默認情況下,外掛以最小模式運行:
路線計算的結果顯示在插件開發者的網站上。
沒有額外的設置。
高級模式:
路線計算的結果顯示在您網站上的 iframe 內。
iframe之後,顯示指向插件開發人員網站的超鏈接。
提供了額外的設置。
工作方式
從技術角度來看,外掛是一個橋樑,可連接到www.drivebestway.com的Web服務,該Web服務使用OSM數據進行路線規劃。
與其他類似的插件不同,這裡不使用Google Maps。路線規劃使用開源路由器,如OSRM和Graphhopper。
查看完整的榮譽列表。
文檔
該外掛基於HTML小部件開發,其選項在開發者的網站上有文檔記錄。
外掛標籤
開發者團隊
原文外掛簡介
The route planner can calculate different values for car routes around the world, such as route length, driving time, fuel amount and cost.
Main use cases:
Routing for motorists (recreation or business trips on own or rented car)
Calculation of estimated cost of your service depending on route length (transport logistics, shipping, moving companies, truck freight, delivery, intercity taxi, transfer, and etc.)
Routing from an arbitrary point to your tourist site (recreation center, camping, hotel) with a simple web form.
Other use cases are also possible. The plugin has many settings and can be adapted to other scenarios.
Features
shortcodes
customizable design
automatic adjustment of font size and font family
mobile friendly
worldwide routing (can be optionally limited by countries)
switched on/off blocks in form and in results
price calculation by your own formula
async load via HTTPS, HTTP/2 support
safe degradation if the routing server is not available
autocomplete for input fields
start/finish location can be pointed on the map
geocoder with mistyping correction
editing the route by drag and drop over map
route scheme (cities with road types and driving time between them)
separated speed limits for highway and other roads
11 languages: English, French, German, Spanish, Portuguese, Czech, Polish, Italian, Malay, Dutch, Turkish
3 measure systems: metric, American, British imperial
multiple currencies: ARS, AUD, BRL, CAD, CHF, CLP, CNY, COP, CZK, DOP, EUR, GBP, INR, IRR, MXN, MYR, NGN, PEN, PHP, PLN, RUB, SEK, TRY, USD, VEF, ZAR
Modes
The plugin has two modes. These modes are switched on the plugin settings page.
By default, the plugin works in minimal mode:
the results of route calculation are displayed on the plugin developers website.
there are no additional settings.
Advanced mode:
the results of route calculation are displayed inside iframe on your website.
after iframe, the hyperlink to the plugin developer’s site is displayed.
additional settings are available.
How it Works
Technically speaking, the plugin is a bridge to web service www.drivebestway.com, which uses OSM data for routing.
Unlike other similar plugins, Google Maps is not used here. The routing is performed with open source routers, such as OSRM and Graphhopper.
See a full list of credits.
Documentation
The plugin is developed on the basis of HTML-widget, which options are documented on the developers’ site.
