{"id":85013,"date":"2018-04-28T07:43:21","date_gmt":"2018-04-28T07:43:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/car-route-planner\/"},"modified":"2024-02-05T14:15:48","modified_gmt":"2024-02-05T14:15:48","slug":"car-route-planner","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/car-route-planner\/","author":10731519,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.7","stable_tag":"trunk","tested":"6.4.8","requires":"4.2","requires_php":"5.3","requires_plugins":null,"header_name":"Car Route Planner","header_author":"DriveBestWay.com","header_description":"Route planner for car travelers. Calculator of various values for route, such as length, driving time, fuel amount and cost, customized cost.","assets_banners_color":"f5f5f5","last_updated":"2024-02-05 14:15:48","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.drivebestway.com\/","rating":3,"author_block_rating":0,"active_installs":400,"downloads":12580,"num_ratings":10,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":5,"2":0,"3":0,"4":0,"5":5},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1870596,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1870596,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":1865816,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":1870596,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":1870596,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"car-route-planner\/block":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"car-route-planner\/block","version":"0.1.0","title":"Car Route Planner","category":"widgets","icon":"car","description":"Calculator of various values for route, such as length, driving time, fuel amount and cost, customized cost.","attributes":{"mode":{"type":"string","enum":["simple","advanced"],"default":"simple"},"language":{"type":"string","default":"en"},"currency":{"type":"string","default":"USD"},"measure":{"type":"string","enum":["metric","imperial","us_cust"],"default":"us_cust"},"textColor":{"type":"string","default":"#000000"},"background_color":{"type":"string","default":"#ffffff"},"accent_color":{"type":"string","default":"#269adb"},"disable_font_auto_tuning":{"type":"boolean","default":false},"font_family":{"type":"string","default":"Open Sans"},"font_size":{"type":"string","default":"1rem"},"default_from":{"type":"string","default":""},"hide_from":{"type":"boolean","default":false},"default_to":{"type":"string","default":""},"hide_to":{"type":"boolean","default":false},"default_via":{"type":"string","default":""},"show_via":{"type":"boolean","default":true},"show_fuel_calc":{"type":"boolean","default":true},"default_fuel_consumption":{"type":"string","default":""},"default_fuel_price":{"type":"string","default":""},"show_speed_profile":{"type":"boolean","default":true},"default_speed_limit_motorway":{"type":"string","default":""},"default_speed_limit_other":{"type":"string","default":""},"show_result_length":{"type":"boolean","default":true},"show_result_driving_time":{"type":"boolean","default":true},"show_result_fuel_amount":{"type":"boolean","default":true},"show_result_fuel_cost":{"type":"boolean","default":true},"show_result_customized_cost":{"type":"boolean","default":false},"customized_cost_formula":{"type":"string","default":""},"customized_cost_label":{"type":"string","default":""},"show_result_map":{"type":"boolean","default":true},"show_result_scheme":{"type":"boolean","default":true},"calculate_instantly":{"type":"boolean","default":false},"only_countries":{"type":"array","default":[]},"prefer_countries":{"type":"array","default":[]}},"example":{},"supports":{"html":false},"textdomain":"car-route-planner","editorScript":"file:.\/index.js","editorStyle":"file:.\/editor.css","style":"file:.\/style-index.css"}},"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2979021,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2979021,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2979021,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2979021,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2979021,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"Gutenberg block","2":"Shortcode generator","3":"The most detailed representation of route planner, intended for tourists","4":"Short representation, intended for cost calculation","5":"Another use case: the form \"how to get to us\""},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[716,23735,5518,10346,249],"plugin_category":[39,59],"plugin_contributors":[87386],"plugin_business_model":[],"class_list":["post-85013","plugin","type-plugin","status-publish","hentry","plugin_tags-calculator","plugin_tags-direction","plugin_tags-distance","plugin_tags-route","plugin_tags-travel","plugin_category-business","plugin_category-utilities-and-tools","plugin_contributors-iguk","plugin_committers-iguk"],"banners":{"banner":"https:\/\/ps.w.org\/car-route-planner\/assets\/banner-772x250.png?rev=1870596","banner_2x":"https:\/\/ps.w.org\/car-route-planner\/assets\/banner-1544x500.png?rev=1870596","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/car-route-planner\/assets\/icon.svg?rev=1865816","icon":"https:\/\/ps.w.org\/car-route-planner\/assets\/icon.svg?rev=1865816","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/car-route-planner\/assets\/screenshot-1.png?rev=2979021","caption":"Gutenberg block"},{"src":"https:\/\/ps.w.org\/car-route-planner\/assets\/screenshot-2.png?rev=2979021","caption":"Shortcode generator"},{"src":"https:\/\/ps.w.org\/car-route-planner\/assets\/screenshot-3.png?rev=2979021","caption":"The most detailed representation of route planner, intended for tourists"},{"src":"https:\/\/ps.w.org\/car-route-planner\/assets\/screenshot-4.png?rev=2979021","caption":"Short representation, intended for cost calculation"},{"src":"https:\/\/ps.w.org\/car-route-planner\/assets\/screenshot-5.png?rev=2979021","caption":"Another use case: the form \"how to get to us\""}],"raw_content":"<!--section=description-->\n<p>The route planner can calculate different values for car routes around the world, such as route length, driving time, fuel amount and cost.<\/p>\n\n<p>Main use cases:<\/p>\n\n<ol>\n<li>Routing for motorists (recreation or business trips on own or rented car)<\/li>\n<li>Calculation of estimated cost of your service depending on route length (transport logistics, shipping, moving companies, truck freight, delivery, intercity taxi, transfer, and etc.)<\/li>\n<li>Routing from an arbitrary point to your tourist site (recreation center, camping, hotel) with a simple web form.<\/li>\n<\/ol>\n\n<p>Other use cases are also possible. The plugin has many settings and can be adapted to other scenarios.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>shortcodes<\/li>\n<li>customizable design<\/li>\n<li>automatic adjustment of font size and font family<\/li>\n<li>mobile friendly<\/li>\n<li>worldwide routing (can be optionally limited by countries)<\/li>\n<li>switched on\/off blocks in form and in results<\/li>\n<li>price calculation by your own formula<\/li>\n<li>async load via HTTPS, HTTP\/2 support<\/li>\n<li>safe degradation if the routing server is not available<\/li>\n<li>autocomplete for input fields<\/li>\n<li>start\/finish location can be pointed on the map<\/li>\n<li>geocoder with mistyping correction<\/li>\n<li>editing the route by drag and drop over map<\/li>\n<li>route scheme (cities with road types and driving time between them)<\/li>\n<li>separated speed limits for highway and other roads<\/li>\n<li>11 languages: English, French, German, Spanish, Portuguese, Czech, Polish, Italian, Malay, Dutch, Turkish<\/li>\n<li>3 measure systems: metric, American, British imperial<\/li>\n<li>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<\/li>\n<\/ul>\n\n<h4>Modes<\/h4>\n\n<p>The plugin has two modes. These modes are switched on the plugin settings page.<\/p>\n\n<p>By default, the plugin works in minimal mode:<\/p>\n\n<ul>\n<li>the results of route calculation are displayed on the plugin developers website.<\/li>\n<li>there are no additional settings.<\/li>\n<\/ul>\n\n<p>Advanced mode:<\/p>\n\n<ul>\n<li>the results of route calculation are displayed inside iframe on your website.<\/li>\n<li>after iframe, the hyperlink to the plugin developer's site is displayed.<\/li>\n<li>additional settings are available.<\/li>\n<\/ul>\n\n<p>https:\/\/www.youtube.com\/watch?v=m5_Wi4R3obo<\/p>\n\n<h4>How it Works<\/h4>\n\n<p>Technically speaking, the plugin is a bridge to web service <a href=\"https:\/\/www.drivebestway.com\/\">www.drivebestway.com<\/a>, which uses <a href=\"https:\/\/www.openstreetmap.org\/\">OSM<\/a> data for routing.<\/p>\n\n<p>Unlike other similar plugins, Google Maps is not used here. The routing is performed with open source routers, such as <a href=\"http:\/\/project-osrm.org\/\">OSRM<\/a> and <a href=\"https:\/\/www.graphhopper.com\/\">Graphhopper<\/a>.<\/p>\n\n<p>See a <a href=\"https:\/\/www.drivebestway.com\/credits\">full list of credits<\/a>.<\/p>\n\n<h3>Documentation<\/h3>\n\n<p>The plugin is developed on the basis of HTML-widget, which options are documented on the <a href=\"https:\/\/www.drivebestway.com\/widget\/v1\/doc\">developers\u2019 site<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload plugin to the \"\/wp-content\/plugins\/\" directory.<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<li>Insert \"car route planner\" block in Gutenberg editor or use shortcode<\/li>\n<\/ol>\n\n<p>https:\/\/www.youtube.com\/watch?v=m5_Wi4R3obo<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20to%20create%20own%20price%20formula%3F'><h3>How to create own price formula?<\/h3><\/dt>\n<dd><p>When composing a formula, you can use the following variables:<\/p>\n\n<ul>\n<li>Length - Route length<\/li>\n<li>DrivingTime - Driving time in minutes<\/li>\n<li>FuelConsumption - Fuel consumption<\/li>\n<li>FuelAmount - Amount of fuel required for the entire route<\/li>\n<li>FuelPrice - Unit price of fuel<\/li>\n<li>FuelCost - Fuel cost for the entire route<\/li>\n<\/ul>\n\n<p>You can also use the mathematical functions: min, max, round.<\/p>\n\n<p>Example of formula: max(150, FuelCost * 4 + 100)<\/p><\/dd>\n<dt id='how%20fuel%20cost%20is%20calculated%3F'><h3>How fuel cost is calculated?<\/h3><\/dt>\n<dd><p>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.<\/p>\n\n<p>The gasoline price is used by default.<\/p><\/dd>\n<dt id='how%20driving%20time%20is%20calculated%3F'><h3>How driving time is calculated?<\/h3><\/dt>\n<dd><p>The speed allowed by traffic rules (according to OSM data) on each specific route point is used for the calculation.<\/p>\n\n<p>You can setup extra speed limits in the shortcode configurator.<\/p><\/dd>\n<dt id='can%20i%20display%20multiple%20shortcodes%20on%20one%20page%3F'><h3>Can I display multiple shortcodes on one page?<\/h3><\/dt>\n<dd><p>You can display as many shortcodes as you like on one page.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.7<\/h4>\n\n<ul>\n<li>Block for Gutenberg page editor.<\/li>\n<li>Options \"Font family\" and \"Font size\" are added.<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Options \"Hide From field\" and \"Hide To field\" are added.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Italian, Czech, Polish and Malay translations are added.<\/li>\n<li>Dutch and Turkish translations are added.<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Bugfix: minor country-specific settings were not applied properly.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Limiting results by countries<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Min\/Max functions are supported in formula.<\/li>\n<li>Bugfix: some shorttag's attributes were erroneously ignored.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>French and German translations are added.<\/li>\n<li>Minor fix in Portuguese translation.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Route planner for car travelers. Calculator of various values for route, such as length, driving time, fuel amount and cost, customized cost.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/85013","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=85013"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/iguk"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=85013"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=85013"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=85013"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=85013"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=85013"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=85013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}