Reverse geocoding Google API without map javascript - javascript

I'm working on a function that takes from the javascript geolocation functionality the latitude and longitude of a certain place, puts those values inside a https://maps.googleapis.com/maps/api/geocode url and given a country and a specific time, redirects to a site or to another.
My question is, and i´ve really done tons of research. Can I do that?
This is why i´m asking.
In the ToS https://developers.google.com/maps/terms#section_10_4 says:
" No use of Content without a Google map. Unless the Maps APIs Documentation expressly permits you to do so, you will not use the Content in a Maps API Implementation without a corresponding Google map. For example, you may display Street View imagery without a corresponding Google map because the Maps APIs Documentation expressly permits this use. "
Also, am I to inform the user that i´m using such service? Because that it´s also amongst their ToS.
Thank u so much, I´m quite lost regarding that, because I don´t know if the page might get shut down if i use my function and dont put a map on the page nor if i dont alert of the use to the users.

Related

Using Google Maps offline (Js Api)

I'm trying to make an NodeJs App in which, on web page I'm using Maps, For some reasons I've chosen Google Maps and I want to stick to it. My question is, Is there anyway where I can either store or cache map tiles offline and later on use it as needed [Note: Not looking for any hack or Illegal way for it, I already know there are many such ways].
I tried and saw many options like GEE (Google Earth Enterprise) portable but I guess they are shutting it down very soon i.e by 2017.
Basically what I'm trying here is to minimize the data usage on rendering map tiles, so alternatively, if there ain't a way to make google map work offline any suggestion or advice for minimizing data usage is appreciated.
The offline access via Maps JavaScript API is not available at the moment. There is a feature request in the public issue tracker:
https://issuetracker.google.com/issues/35827808
Please star this feature request to express your interest and receive further updates from Google.
1.Use Localstorage instead it might help but will be used in google chrome.
2.Check this url it might help How to cache Google map tiles for offline usage?

Display the Google Maps Javascript API usage statistics on a custom website

I'm currently using the Google Maps Javascript API for displaying multiple Google Maps on a website. Since the usage is limited for non-paying users, I am trying to keep the usage as low as possible, but I would love to have a way to monitor those usage stats in a semi-realtime way.
I know that you can lookup these usage statistics in the Google Development Center, for different timespans, but I was wondering if it's possible to query those usage statistics in some sort of way for displaying them on a custom webpage?
I've already tried to find some topics here on StackOverflow around this subject, but the only one I've found that comes near to my question is this one from 2013:
Is it possible to display the statistics from the Google Developer Console on a website?
In that topic the correct answer was that it wasn't possible at that moment.
Is this still not possible at this moment or does anybody know a way to get those usage statistics out of the Development Center?
Unfortunately you can not see the statics on a custom web page.
It's not possible to get the usage information out of the Developers Console, but you could wire up the Maps JavaScript API to report back to your own analytics services which is easier to embed.
As an example, using Google Analytics, every time your code runs new google.maps.Map(.. you could run ga('send', 'event', 'map', load'); reporting that a map was loaded. The numbers might vary slightly since some users block analytics but I would expect them to line up closely.

Several questions about Google Maps Engine. Which version of engine? API?

I have a customer who wants a site with a map included. The requirements are as follows:
The map needs to be easily edited by the customer(which is why i ended up with Google maps).
The map needs to have markers with info about stores(which is why i think i need maps engine business, since its possibly money involved).
The site I'm making needs to have a search field, which should navigate to the correct location when a option (lets say New York) is selected(which i why i probably need to use the API).
Am i correct in the consumption's above? I'm very confused by all the developer guides, and different map options(lite, pro, engine, not engine etc). I keep opening new links, and they tell different things.
If i make my map public(which i can), will i still have to use OAuth 2.0? The guides i found said i didn't have to, but i still cant get info from the API. The response says i need to add the bearer.
More questions:
- Why can't i add markers when i use the "standard" maps engine, but only the lite one? I'm guessing the lite version wont be suffice for my project. The icons for adding marker is grey, and it gives me warning icon when hovering with my mouse.
- If i navigate to my map with the lite version i can't see my map-id in the url(this might be because it cant be used for API?). It seems i can get my map-id from the "real" maps engine.
Google has three products in this field: Maps Engine Lite, Maps Engine Pro, and just plain Maps Engine. This page explains the differences, but it sounds like you would be best off with Maps Engine Pro.
Both Lite and Pro let you embed your map easily into another webpage. No programming, OAuth etc needed, just copy and paste the pregenerated code.
Pro lets you add up to 2,000 points per layer onto a map, with full custom styling. (Lite is limited to 100 per layer and a set of default icons.)
Lite is free, but Pro costs only US$5/month, so it's not going to break the bank.
The only issue is going to be that search box. Maps Engine Lite & Pro maps in the default standalone viewer have a search box that does what you want, but the embedded iframe version only has a list of points. Might be good enough if you don't have too many?

In need of a good business search API similar to Yelp's & Google Places

Hey there --
I've been looking for a reliable, scalable, and accurate location search API.
I would use Yelp's API, it is great, but I need to be able to store information, whereas Yelp disallows any of their content to be stored.
I'm currently using SimpleGeo, however I've found that their results can be horribly ordered. I'm considering writing a script to accurately order the results, but I thought I'd first check here if there's any other good alternatives.
I have signed up for a Google Places API key months ago with no response yet, as I've heard this API is flakey if you're not already sign up with it.
Another useful feature of an API I'd like to find is one that contains a thumbnail picture of the location match.
My queries will be requested by keyword and location.
Any suggestions?
Thanks
I haven't tried it, but Cloudmades "Local Search" might be worth looking at: http://developers.cloudmade.com/projects/show/local-search
The Google Places API was opened up to all developers at Google I/O this week:
http://googlegeodevelopers.blogspot.com/2011/05/places-everybody-show-is-about-to-begin.html
To get started take a look at the docs:
http://code.google.com/apis/maps/documentation/places/
Many thanks,
Thor.

Which Google Maps Option Should I Choose?

I'm currently working on a location-based app and I'm not sure whether I should use the Google Maps API for Javascript or the Google Places Web Service. For argument's sake, assume that both are technically feasible within the context of my app. Given that, what are the pros/cons of each? Is there a reason to use one over the other?
Thanks.
Assuming that this is what your talking about (for the web service portion) http://code.google.com/apis/maps/documentation/places/.
It appears that the Google Places API is meant to be used in addition to, but not exclusive of, the Google Maps API.
Usage Limits
Note: the Places API may only be used in conjunction with displaying results on a Google map; using Place data without displaying a map for which Place data was requested is prohibited. Additionally, calculation of Place information may generate copyrights, warnings and/or advertising which must be displayed to the user in some fashion.
So I'm not sure you can use one without the other.

Categories

Resources