JXMapViewer - Updating Google Maps tile server URL

View: New views
3 Messages — Rating Filter:   Alert me  

JXMapViewer - Updating Google Maps tile server URL

by jdnc-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There is frequent change in Google maps tile URL which is used in JXMapViewer to connect to the Google server so that the map can be displayed.

Is there any way to get the Google tile server URL programatically?
OR
Any other way to update the tile url in order to connect to the google maps tiles server every time?

Please help me..
[Message sent by forum member 'question' (question.doubt@...)]

http://forums.java.net/jive/thread.jspa?messageID=367273

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@...
For additional commands, e-mail: jdnc-help@...


Re: JXMapViewer - Updating Google Maps tile server URL

by jdnc-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you search this forum for information about JXMapViewer and Google maps, you'll find that there's a good reason why they keep changing their tile server URL. That reason is that it is illegal for you to access the tile servers directly. The only legal way to use google maps is through their javascript google maps api.

You should use the openstreetmap.org tiles, which are free for everybody to use.
[Message sent by forum member 'idawes' (ian@...)]

http://forums.java.net/jive/thread.jspa?messageID=367545

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@...
For additional commands, e-mail: jdnc-help@...


Re: JXMapViewer - Updating Google Maps tile server URL

by Fabrizio Giudici :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

jdnc-interest@... wrote:
> There is frequent change in Google maps tile URL which is used in JXMapViewer to connect to the Google server so that the map can be displayed.
>
> Is there any way to get the Google tile server URL programatically?
> OR
> Any other way to update the tile url in order to connect to the google maps tiles server every time?
>  
There's for sure some automated stuff in the official JavaScript APIs...
which are the only legit way to use Google Maps. I'm almost sure that
these frequent changes are purportedly done to discourage the use by
other means.

--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
Fabrizio.Giudici@... - mobile: +39 348.150.6941


---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@...
For additional commands, e-mail: jdnc-help@...