Unfortunately as far as I know the API is not capable of constructing a MapWidget that points at the Fusion server.
You will have to load the API onto the page different as well as a few other things... The gwt-maps api constructs a GMap2 object when a map widget is created. You would need to construct a GFusionMap object instead. You can take a look at MapImpl in com.google.gwt.maps.client.impl if you are interested in the implementation. Because they used GWT.create() to instantiate the map impl, you could use deferred binding to instantiate a Fusion MapImpl instead. Has anyone created a custom gwt:property or found a better way to do this? Thanks, Pat On May 12, 6:05 pm, BrianV <[email protected]> wrote: > Thanks. How exactly do you get it to work with the earth server. In > particular, how do I tell it from where to load the maps API script? I > tried the following using an older version of the gwt-map api (1.0.2) > with the following script statement in my *.gwt.xml: > > <script src="http://33.5.40.180/maps?gwt=1&file=api&v=2" /> > > This doesn't result in the maps api scripts being loaded. Is there a > different uri that I need to use for the enterprise server? > > Thanks, > > Brian > > On May 12, 3:24 pm, Eric Ayers <[email protected]> wrote: > > > > > > > I'm guessing that you won't be able to use the latest version of the > > gwt-maps API. Last I checked, only gwt-maps-1.0.3 was compatible with > > Enterprise Earth server. This has to do with the version of the maps API > > shipped in Enterprise Earth. > > > On Tue, May 11, 2010 at 6:03 PM, BrianV <[email protected]> wrote: > > > So I have a gwt application that uses the gwt-maps APIs. We have a > > > pressing need to use an Enterprise Earth server instead of the the > > > Google server (maps.google.com) in the sky. Is there something special > > > I need to do to connect it to this soon to be deployed Enterprise > > > Earth server besides changing the url in the script tag in my app- > > > gwt.xml to point at my new earth server? > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Google Web Toolkit" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-web-toolkit%2Bunsubs > > > [email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- > > Eric Z. Ayers > > Google Web Toolkit, Atlanta, GA USA > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/google-web-toolkit?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
