Advance Route Planner API Ver 7.0

Description
A) Details – top
Advance Route Planner is a A to B RoutePlanner tool written in Pure Javascript with Google Map Ver. 3 API. it have very advance features like :
1) Added Weather layer on Google Map with OpenWeather APi
2) Added Transit Calculator
3) Added Place Search in all location textboxes.
4) Fixed Bugs.
5) Fuel Calculator.
6) Sorting of Locations.
7) Added Help Section.

How to Use – top
Extract all the files form the zip. The file you need to include Google API Javascript along with routeplannerapi.js.
If you wanted to install the plugin in your website please follow below after setting up above settings
include below libraries
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script> <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=adsense"></script> <script src="js/routeplannerapi.min.js"></script>
Set up Form, to get Starting and Ending Location and call calcRoute(); function on button submit as below :
<form class="form-inline" role="form"> <div class="form-group"> <label class="sr-only" for="start">Starting Location :</label> <input type="text" class="form-control" id="start" placeholder="Enter Starting Location"> </div> <div class="form-group"> <label class="sr-only" for="end">Destination Location :</label> <input type="text" class="form-control" id="end" placeholder="Enter Destination Location"> </div> <div class="form-group"> <select class="form-control" id="mode" name="mode"> <option value="DRIVING">Driving</option> <option value="WALKING">Walking</option> <option value="BICYCLING">Bicycling</option> <option value="TRANSIT">Transit</option> </select> </div> <button type="button" class="btn btn-success" onClick="calcRoute();">Get Route</button> </form>
Add Google Map Div and Google Direction Div in the Page as below
<div id="map-canvas" /> <div id="directionsPanel" />
Thats it ! you are good to go if you want to do any changes please follow below instructions :
var _ZNRPL = {
latitude : 41.850033,
longitude : -87.6500523,
start:"",
end:"",
adsense:true,
publisherid:"ca-google-maps_apidocs",
adformat : "BANNER",
adposition : "RIGHT_BOTTOM",
adbackgroundColor: '#c4d4f3',
adborderColor: '#e5ecf9',
adtitleColor: '#0000cc',
adtextColor: '#000000',
adurlColor: '#009900'
};
You can set the variables, as per your requirement like below :
You can set your center location when page load by providing latitude and longitude of your location.
latitude : 41.850033, longitude : -87.6500523,
You can setup your starting or ending location as below
start:"Chicago", end : "New York",
You can enable or disable Google Adsense as below
adsense:true,
If adsense is enable you have to set your publisher id as below
publisherid:"ca-google-maps_apidocs",
If adsense is enable you have to set Type of Banner Format as below
adformat : "BANNER",
As per Google Adsense, Banner Format can be :
LEADERBOARDcreates a fully horizontal display area.BANNERcreates a horizontal “banner” ad.HALF_BANNERcreates a smaller horizontal “banner” ad.SKYSCRAPERcreates a large vertical ad.WIDE_SKYSCRAPERcreates a wide vertical ad using larger type.VERTICAL_BANNERcreates a medium-sized vertical ad.BUTTONcreates a small ad.SMALL_SQUAREcreates a slightly larger square ad.SQUAREcreates a large square ad with large type.SMALL_RECTANGLEcreates a small rectangular ad.MEDIUM_RECTANGLEcreates a medium rectangular ad.LARGE_RECTANGLEcreates a large rectangular ad.SMALL_VERTICAL_LINK_UNITcreates a small vertical link unit.MEDIUM_VERTICAL_LINK_UNITcreates a medium vertical link unit.LARGE_VERTICAL_LINK_UNITcreates a large vertical link unit.X_LARGE_VERTICAL_LINK_UNITcreates an extra large vertical link unit.SMALL_HORIZONTAL_LINK_UNITcreates a small horizontal link unit.LARGE_HORIZONTAL_LINK_UNITcreates a large horizontal link unit.
If adsense is enable you have to set Position of Banner as below
adposition : "RIGHT_BOTTOM",
As per Google Adsense, Banner Position can be :
TOP_CENTERindicates that the adunit should be placed along the top center of the map.TOP_LEFTindicates that the adunit should be placed along the top left of the map, with any sub-elements of the control “flowing” towards the top center.TOP_RIGHTindicates that the adunit should be placed along the top right of the map, with any sub-elements of the control “flowing” towards the top center.LEFT_TOPindicates that the adunit should be placed along the top left of the map, but below anyTOP_LEFTelements.RIGHT_TOPindicates that the adunit should be placed along the top right of the map, but below anyTOP_RIGHTelements.LEFT_CENTERindicates that the adunit should be placed along the left side of the map, centered between theTOP_LEFTandBOTTOM_LEFTpositions.RIGHT_CENTERindicates that the adunit should be placed along the right side of the map, centered between theTOP_RIGHTandBOTTOM_RIGHTpositions.LEFT_BOTTOMindicates that the adunit should be placed along the bottom left of the map, but above anyBOTTOM_LEFTelements.RIGHT_BOTTOMindicates that the adunit should be placed along the bottom right of the map, but above anyBOTTOM_RIGHTelements.BOTTOM_CENTERindicates that the adunit should be placed along the bottom center of the map.BOTTOM_LEFTindicates that the adunit should be placed along the bottom left of the map, with any sub-elements of the control “flowing” towards the bottom center.BOTTOM_RIGHTindicates that the adunit should be placed along the bottom right of the map, with any sub-elements of the control “flowing” towards the bottom center.
If adsense is enable you have to set Colors Scheme of Banner as below in hex format
adbackgroundColor: '#c4d4f3', adborderColor: '#e5ecf9', adtitleColor: '#0000cc', adtextColor: '#000000', adurlColor: '#009900'
| Type | JavaScript Script |
|---|---|
| Author | zincksoft |
| Category | Javascript / Miscellaneous |
| Price | $22 |
| Sales | 136 |
| Rating | 4.89 from 9 ratings |
| Published | Oct 18, 2014 |
| Last Update | Jan 10, 2017 |
| Compatible Browsers | IE10, IE11, Firefox, Safari, Opera, Chrome, Edge |
| Compatible Software | jQuery |
| Source Files Included | JavaScript JS, HTML, CSS |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 4,301 views · 38 clicksSaaS · Week 45 · 4,301 views · 38 clicks
🥈
Conversational Backlinks for Busy Founders
Place Backlink Relevant Conversation for your domain across Forums and Conversations
Website · 42,024 views · 223 clicksWebsite · Week 45 · 42,024 views · 223 clicks
🥉
upvote.club
Free Social Media Engagement that Helps Boost Your Content. Upvote Club supports 19 social networks with 100+ engagement actions in one dashboard. Add links to your posts and get free engagement from real users.
SaaS · 40,068 views · 117 clicksSaaS · Week 45 · 40,068 views · 117 clicks
#4
Substack Posting API
Onboard your Agent to Substack. Write Publish on Substack via API
SaaS · 59,077 views · 198 clicksSaaS · Week 45 · 59,077 views · 198 clicks
#5
Seenshot App
Free, Fast, MacOS Screenshot app. Make Screenshot cmd+shift+2 and send it via link
Desktop App · 28,452 views · 122 clicksDesktop App · Week 45 · 28,452 views · 122 clicks
#6
Hand-Placed Backlinks $9.99 per link. Flat rate.
Buy hand-placed forum, Q-A and directory backlinks. Flat $9.99 per link, no subscriptions — you only pay for approved listings.
Website · 4,285 views · 19 clicksWebsite · Week 45 · 4,285 views · 19 clicks
#7
Free Invoice Generator - PDF Invoices in Your Browser, No Sign-Up
A free invoice maker for freelancers and small businesses: fill in the invoice, check the live preview, and download a PDF that looks exactly like it. Any currency, tax per item, three templates, no sign-up, and nothing leaves your device.
2,960 views · 17 clicksWeek 45 · 2,960 views · 17 clicks
#8
Merge PDF Files Free - Combine PDFs in Your Browser, No Upload
A free PDF merger for office workers, students, and freelancers: combine PDFs and images into one file in the browser, reorder files and pages, pick page ranges, keep bookmarks, and open password-protected PDFs. Nothing is uploaded, no sign-up, no watermark.
2,733 views · 13 clicksWeek 45 · 2,733 views · 13 clicks