hguser
hguser

Reputation: 36018

how does the google map api validate the key

If one want to use the google map api and its map data,he should register for a key for his website.

Now we want to open our own map api for other,so we require user who use our map api and map data register first.

However we have no idea how to validate.

FOr example, I have obtain a key of google map api,when I call the api,the js will downloaded to local,but I think there must be another validation when request map data from google.

how does they do?

Validte the site and key for each map tile?

Upvotes: 0

Views: 689

Answers (2)

Sudhir Jonathan
Sudhir Jonathan

Reputation: 17516

They deprecated the key in v3. In v2 I'm assuming they matched your HTTP REFERER to the key that was assigned to your domain, and allowed the request if there was a match.

Upvotes: 0

aniri
aniri

Reputation: 1831

If you will use the third version of the api you won't need a key anymore :)

Upvotes: 1

Related Questions