branflake2267 / GWT-Maps-V3-Api

GWT Maps V3 Javascript Bindings
Other
144 stars 113 forks source link

Google Map works on local host but doesn't work on web server #236

Closed aouskaroui closed 7 years ago

aouskaroui commented 7 years ago

Hello there,

I am working on a GWT project using this googleMap v3 Api. I was working on local host all the time and everything was good. Now, I deployed the project to appspot (appengine infrastructure), then everything works fine for my project except the googleMap, which actually doesn't show at all. Is there any additional configuration that I'm supposed to do before uploading my project to the webserver or something ?

treethinker commented 7 years ago

It is probable that your map api key is not being honored because the domain of your new location is not authorized to it.

On 19 Jan,17, at 05:05, aouskaroui notifications@github.com wrote:

Hello there,

I am working on a GWT project using this googleMap v3 Api. I was working on local host all the time and everything was good. Now, I deployed the project to appspot (appengine infrastructure), then everything works fine for my project except the googleMap, which actually doesn't show at all. Is there any additional configuration that I'm supposed to do before uploading my project to the webserver or something ?

� You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

aouskaroui commented 7 years ago

That was exactly the problem. I was able to find more details about getting map key api on this page: http://stackoverflow.com/questions/2769148/whats-the-api-key-for-in-google-maps-api-v3

Thank you very much ! I will mark this issue as resolved.