How to find the Tolls in Google Map API? - google-maps-api-3

I am using Google Map API 3.0 to calculate the distance of two places. I can calculate it easily.
But now I need to find out every bridge or ferry service tolls (if any).
For example if I try to get the route direction of [DFW Airport, Grapevine, TX, USA] to [McKinney, TX, USA] in Google Map I get “This route has tolls”.
But using Google Map API I can’t find it. How can I figure out this?

I think Google Maps gives advice about tolls and ferries.
But Google Maps API totally ignore these.

Related

How to calculate Over Posted Speed Limit on highway using lat,long in here map

I have latitude and longitude where my car is driving on highway. I want to know whether my car speed is greater than highway speed where I am driving
You can achieve this by using the simple Routing API(used for routing usecases) or Fleet Telematics API(used for complex routing problems like trucks).
Routing API: The below example provides the speed limits in a particular route. You can check this against your car speed limit to verify if you are driving within limits. Read more about the api in Here developer site - https://developer.here.com/documentation/routing/topics/resource-get-route.html
https://route.api.here.com/routing/7.2/calculateroute.json?waypoint0=41.69758,-87.78397&waypoint1=41.70056,-87.77429&mode=fastest;car&storage=readonly&linkAttributes=speedLimit&app_code=yyyyy&app_id=xxxx&representation=linkPaging
Fleet Telematics API: You can get the speedlimit information along a route using this api as well. Here provides numerous examples on how to do this in https://tcs.ext.here.com/examples site. Just login with your Here credentials and search for speed. You can take a look at the source code there. You can also read more about this api in Here website https://developer.here.com/documentation/fleet-telematics/dev_guide/index.html
Hope you find these useful!Happy Coding!

how to get street coordinate from google map api?

I am trying to make a web app based on google map api.I want to put image icon at different position of street in map.
how wiil i get these street coordinate from google map api?
Please give your useful suggestion.
Thanks.
Google have a service called Geocoding - you send a request including an address, a google.maps.latLng, or a Place_ID and it returns an array with all three of them. they explain all about this here.

Google Maps API and ASP.Net

I am new to Google Maps API and I have a requirement to integrate Google Maps API with an ASP.Net application. Is there a Google service where in I can input a UK postcode and radius as input parameters and get results only, without the map.
For example if I search for solicitors in a particular area like Z1 1XY (not real post code) with a radius of 5 mi, can I get the results of all solicitors with the postcodes 5 mile radius? Is there any service that would return the result set only? I know GeoCoding does something similar but can I provide radius as one of the input parameter and get results.
Any help would be appreciated. Thanks in advance.
Seaton
The Geocoding API may only be used in conjunction with a Google map; geocoding results without displaying them on a map is prohibited. For complete details on allowed usage, consult the Maps API Terms of Service License Restrictions.
Source: https://developers.google.com/maps/documentation/geocoding/#Limits
yes, you can use the Google Geocoding API to do address lookups (in this case postcodes). The response contains lat/lon co-ordinates which you can then subsequently use as the epicenter of your search to find items within a radius. Have a look at this blog post on how to use the DbGeography in .NET to perform radius queries based on lat/lon co-ordinates.

Google Maps Api Airport Search

I am trying to get a list of nearby airports, given a certain location.
You can do this through the google places api and using types=airport.
The problem is that Google Places is self-policing so any tom, dick and harry can call themselves an airport.
Is there any way to determine whether an airport is real - through google maps?
I know I could double check against an airports database but then I'd be best just using an external database and only use google maps to plot their locations!!
thanks
Geonames will give you airports eg. a search centred on Central Park New York with a radius of 25 kms.
http://api.geonames.org/findNearby?lat=40.776902&lng=-73.968887&fcode=AIRP&radius=25&maxRows=100&username=xxxxx`.
You will need to open a (free) Geonames account to make it work.
Such a search would be in your "external database" category but as far as I know, the entries are not self-certified, so are possibly more reliable than Google's from what you say.
To verify Google results against Geonames results would need to develop and code your own comparison algorithm.

Google apps script map api for distance calculation between two points

I know there is an api to calculate the distance between two points for google apps but what i am looking for is the google apps script api to calculate the driving distance not the direct distance between two points. Is there such an api?
Google directions API gives you the total distance between the source and destination.
try this
http://maps.googleapis.com/maps/api/directions/json?origin=nj&destination=ny&sensor=false
API Documentation here
One can follow the below link to get more details about it.
Calculating driving distance with google map api v2

Resources