Linux 软件免费装
Banner图

Car Route Planner Plugin

开发者 iGuk
更新时间 2024年2月5日 22:15
PHP版本: 5.3 及以上
WordPress版本: 6.4.2
版权: GPLv2 or later
版权网址: 版权信息

标签

travel distance direction calculator route

下载

详情介绍:

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:
  1. Routing for motorists (recreation or business trips on own or rented car)
  2. Calculation of estimated cost of your service depending on route length (transport logistics, shipping, moving companies, truck freight, delivery, intercity taxi, transfer, and etc.)
  3. 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 Modes The plugin has two modes. These modes are switched on the plugin settings page. By default, the plugin works in minimal mode: Advanced mode: https://www.youtube.com/watch?v=m5_Wi4R3obo 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.

安装:

  1. Upload plugin to the "/wp-content/plugins/" directory.
  2. Activate the plugin through the "Plugins" menu in WordPress.
  3. Insert "car route planner" block in Gutenberg editor or use shortcode https://www.youtube.com/watch?v=m5_Wi4R3obo

屏幕截图:

  • Shortcode generator
  • The most detailed representation of route planner, intended for tourists
  • Short representation, intended for cost calculation
  • Another use case: the form "how to get to us"

常见问题:

How to create own price formula?

When composing a formula, you can use the following variables:

  • Length - Route length
  • DrivingTime - Driving time in minutes
  • FuelConsumption - Fuel consumption
  • FuelAmount - Amount of fuel required for the entire route
  • FuelPrice - Unit price of fuel
  • FuelCost - Fuel cost for the entire route
You can also use the mathematical functions: min, max. Example of formula: max(150, FuelCost * 4 + 100)

How fuel cost is calculated?

The interface uses abstract term "fuel", so that you or your user can substitute the price of gasoline, diesel or LPG based on your choice. The gasoline price is used by default.

How driving time is calculated?

The speed allowed by traffic rules (according to OSM data) on each specific route point is used for the calculation. You can setup extra speed limits in the shortcode configurator.

Can I display multiple shortcodes on one page?

You can display as many shortcodes as you like on one page.

更新日志:

1.7 1.6 1.5 1.4 1.3 1.2 1.1 1.0