views:

174

answers:

3

My google map works on local host perfect, but when i get key from codes.google for my server ip my google map alerts your browser does not support google map i dont know what is my problem can anybody help me?

+1  A: 

Try to get a the key for the full domain name (including subdomain), not the IP address.

Robert
i am trying to access my application server just from my ip
tavallaie
A: 

The problem is not solved yet but i think that it is important to say that when download java script from google from address http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAmfxEy26bISZt8fzqRClItBRc5N-P1NpY03Egq3jSesNMkYFHpRQxlBgZQE1fKa5udtRsjyL77M61mw GValidateKey("") is in java script but i find in the web that it contains a key

tavallaie
when i try this link one more time GValidateKey contains a key, It make me suprised becouse i try it many times
tavallaie
I test it one another time the and i was suprised becouse when i add this link to a page and click on that link it works but when I test it directly from url bar of firefox it not work
tavallaie
+1  A: 

You can't use your ip address to get an API key.

Also, you don't need to use your full domain name. If you get an API key for 'example.com' - all of the sub-domains and directories on example.com will also be valid.

Chris B