World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Applications

Applications Discussion of applications that use WWJ

Reply
 
Thread Tools Display Modes
Old 09-15-2007, 09:42 PM   #1
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
patmurris is an unknown quantity at this point
Question Google Maps API and WWJ applets

It just occurred to me that both a WWJ applet and the Google Maps API can live in the same html page, and that the applet could 'talk' to the api to get at the imagery... Which would be legally right since WWJ would go through the api - if i understand well Google restrictions.

Note that communication between the two can go both ways : applet to javascript and javascript to the applet.

I've no idea how this would work yet, but it seems like an interesting combination

Any comments or ideas regarding this possibility ?
__________________
My World Wind Java Blog & WW.net Plugins page

Last edited by patmurris; 09-16-2007 at 03:24 AM.
patmurris is offline   Reply With Quote
Old 09-16-2007, 09:42 AM   #2
fabrizio.giudici
Senior Member
 
Join Date: May 2007
Location: Milan, Genoa (Italy)
Posts: 112
fabrizio.giudici is on a distinguished road
Default

Cool idea. Ony a caveat: the way engineers/computer scientists/etc interpret logic is often completely different from the way lawyers do. :-) So I'd be careful about the interpretation of Google restrictions.
__________________
--
Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
Fabrizio.Giudici@tidalwave.it - mobile: +39 348.150.6941
fabrizio.giudici is offline   Reply With Quote
Old 09-16-2007, 10:02 AM   #3
what_nick
Worldwind Developer
 
Join Date: Jan 2006
Location: Hobart, Australia
Posts: 754
what_nick is an unknown quantity at this point
Default

If the lawyer says is unfair usage and they are losing revenue, they will extend the policies to cover the loophole, and there is always http://www.flashearth.com/. It uses flash as the container instead of Java, same idea basically.

Cheers,

what_nick
__________________
Coding This and That in World Wind and helping new people out, as long as they don't pester too much.
Currently blogging at: http://whatnicklife.blogspot.com
Working at:
Aerometrex - http://aerometrex.com.au/blog/
Impact so far:



Last edited by what_nick; 09-16-2007 at 10:04 AM.
what_nick is offline   Reply With Quote
Old 09-17-2007, 01:01 PM   #4
TomServo
God. Root. What is difference?
 
TomServo's Avatar
 
Join Date: Sep 2004
Location: Eastern Pennsylvania
Posts: 2,847
TomServo
Default

Frome what I have heard.. flashearth is against the GMap TOS as well... but they are "ignoring" it (for now).

I would like to see a demo though.. because technicaly.. it is within the ToS
__________________


Earth is Square blog

PUBLIC NOTICE AS REQUIRED BY LAW: Any use of this forum post, in any manner whatsoever, will increase the amount of disorder in the universe. Although no liability is implied herein, the consumer is warned that this process will ultimately lead to the heat death of the universe.
TomServo is offline   Reply With Quote
Old 09-18-2007, 02:24 AM   #5
turman
Virtual Explorer
 
turman's Avatar
 
Join Date: May 2006
Location: Nice, France
Posts: 65
turman is on a distinguished road
Default

Quote:
Originally Posted by TomServo View Post
Frome what I have heard.. flashearth is against the GMap TOS as well... but they are "ignoring" it (for now).
I'm not a lawyer neither an expert in Google Maps but.. I really think it's against the GMap TOS since I don't see how they could fetch GMaps imagery into Flash without hacking GMaps HTTP requests. I mean the GMaps official API doesn't allow to fetch tiles like that. You can instanciance a map, configure it, and use it with markers, routes.. but no tiles fetching. See the API here: http://www.google.com/apis/maps/docu...reference.html

Of course their JavaScript lib is offuscated so you have to reverse engineering their request protocol by the hand.

But one cool thing which could be easy to integrate into WW is their geocoding engine. It's really easy and powerfull. In my GeoFlexy webapp, I use it via their JS API, but you can also directly use their web service: http://www.google.com/apis/maps/docu...ocoding_Direct
Very easy and totaly legal since the limitation is only about the number of requests:
Quote:
Originally Posted by Google
There is a limit of 50,000 geocode requests per day per Maps API key. This translates to roughly one geocode request every 1.73 seconds. If you go over this 24-hour limit, the Maps API geocoder may stop working for you temporarily. If you continue to abuse this limit, your access to the Maps API geocoder may be blocked permanently.
and..
Quote:
Originally Posted by Google
Your service must be freely accessible to end users. To use Google mapping technology in other types of applications, please use Google Maps for Enterprise.
Hmm I'll try it and keep you posted..

Quote:
Originally Posted by TomServo View Post
I would like to see a demo though.. because technicaly.. it is within the ToS
For me it would be even nicer to see a Virtual Earth plugin into WWJ because MS seems to be easier about their imagery than Google.. Oops it must be the first time I say that MS is better than Google!

Last edited by turman; 09-18-2007 at 02:28 AM.
turman is offline   Reply With Quote
Old 09-18-2007, 02:57 AM   #6
TomServo
God. Root. What is difference?
 
TomServo's Avatar
 
Join Date: Sep 2004
Location: Eastern Pennsylvania
Posts: 2,847
TomServo
Default

It gets easier each time to say MS is better than Google

Google is good at "selective enforcement" ... they only enforce some stuff when they get called out on it.
__________________


Earth is Square blog

PUBLIC NOTICE AS REQUIRED BY LAW: Any use of this forum post, in any manner whatsoever, will increase the amount of disorder in the universe. Although no liability is implied herein, the consumer is warned that this process will ultimately lead to the heat death of the universe.
TomServo is offline   Reply With Quote
Old 09-18-2007, 04:36 AM   #7
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
patmurris is an unknown quantity at this point
Default

The thing with MS Virtual Earth tiles is they are not in lat/lon projection... whereas Google tiles are. But i agree, VE in WWJ would be great too - and probably fine with MS since the .net version has had such a plugin for some time now with their benediction.
__________________
My World Wind Java Blog & WW.net Plugins page
patmurris is offline   Reply With Quote
Old 09-18-2007, 04:57 AM   #8
withak
What?
 
withak's Avatar
 
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,461
withak
Default

I think the only thing the VE people requested was to have a MS logo visible when their data was visible, so we made the plugin put a small MS icon in the lower right corner of the screen when the layer is on.

edit: I think maybe they also wanted a notice on the web page and installer reminding that the images aren't PD.
withak is offline   Reply With Quote
Old 09-18-2007, 09:10 AM   #9
m_k
Bored Explorer
 
m_k's Avatar
 
Join Date: Nov 2004
Location: Warsaw, Poland
Posts: 1,808
m_k is an unknown quantity at this point
Default

Quote:
Originally Posted by patmurris View Post
The thing with MS Virtual Earth tiles is they are not in lat/lon projection... whereas Google tiles are.
Hmm... you sure? I thought that both Google Maps and VE use Mercator projection (and GE uses lat/lon).
__________________
Hot stuff: FAQ, forum search, DirectX, .NET, Video Card Compatibility list
m_k is offline   Reply With Quote
Old 09-18-2007, 12:58 PM   #10
TomServo
God. Root. What is difference?
 
TomServo's Avatar
 
Join Date: Sep 2004
Location: Eastern Pennsylvania
Posts: 2,847
TomServo
Default

Quote:
Originally Posted by withak View Post
I think the only thing the VE people requested was to have a MS logo visible when their data was visible, so we made the plugin put a small MS icon in the lower right corner of the screen when the layer is on.

edit: I think maybe they also wanted a notice on the web page and installer reminding that the images aren't PD.
Well, 90% of that is taken care of then Just need to add the logo/link for when the layer is on in WWJava.

Wish we had gotten Yahoo to buy in on using their imagery.. but they were unsure they could handle the increased bandwidth, so opted out for now.
__________________


Earth is Square blog

PUBLIC NOTICE AS REQUIRED BY LAW: Any use of this forum post, in any manner whatsoever, will increase the amount of disorder in the universe. Although no liability is implied herein, the consumer is warned that this process will ultimately lead to the heat death of the universe.
TomServo is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:27 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.