Re: GWT: Google Map in firefox only randomly working

2012-01-31 Thread Eric Ayers
there? On Tue Jan 31 11:15:35 GMT-500 2012, MeiAestro wrote: > Hi Eric! > > Thanks for the hint, but unfortunately it did not help. > > Any other ideas? > > Regrads! > > On 30 Jan., 16:24, Eric Ayers wrote: > > Try calling 'checkResizeAndCente

Re: GWT: Google Map in firefox only randomly working

2012-01-30 Thread Eric Ayers
Try calling 'checkResizeAndCenter()' and see if it helps. http://code.google.com/p/gwt-google-apis/wiki/MapsFAQ#Why_do_I_see_the_map_off_center_surrounded_with_grey_background On Mon Jan 30 10:09:04 GMT-500 2012, MeiAestro wrote: > Hi folks, > > I am using the google maps api for GWT. In all b

Re: Developing Google gadgets with GWT

2011-08-02 Thread Eric Ayers
ups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- Eric Ayers | Software Engineer | zun...@google.com | +1 404 487 9229 -- You

Re: Mac + Google Maps 1.1 Library + Google Web Toolkit 2.2.0 SDK Bundle for Eclipse 3.5

2011-07-13 Thread Eric Ayers
p, send email to google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- Eric Ayers | Software E

Re: Access permutation id inside a generator

2011-07-07 Thread Eric Ayers
A static variable isn't going to be a good solution for users using a multi process build, (Precompile an CompilePerms entry points into the compiler.) Maybe the GWT compiler could provide an api to return the current properties settings as a string that you could hash on? On Jul 6, 2011 10:47 AM

Re: Problem with maps API

2011-06-27 Thread Eric Ayers
ver.java: > 352) >at java.lang.Thread.run(Thread.java:662) > > > i was trying out an example DemomapGWT which was there in codehosting > samples in gwt > > thanks in advance > > > -- > You received this message because you are subscribed to the Google Gro

Re: Incompatibility of Maps API

2011-06-27 Thread Eric Ayers
group. > To post to this group, send email to google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. &g

Re: google map TileLayerOverlay

2011-05-09 Thread Eric Ayers
aded by > the api, or maybe if I could acces to the complete property of the img > objects. I'm trying to use this property but searching all img > objects. > > > On 6 mayo, 15:14, Eric Ayers wrote: >> The closest thing I could find in the JavaScript API is this: >

Re: google map TileLayerOverlay

2011-05-06 Thread Eric Ayers
The closest thing I could find in the JavaScript API is this: http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMap2.tilesloaded The GWT bindings don't include that event at the moment, but I don't think that's what you're looking for anyway (it sounds like you want to

Re: Offline map functionallity GWT

2011-05-02 Thread Eric Ayers
The underlying javascript api requires an Internet connection. If you are providing your own map tiles you might be able to use openmaps or a gwt project called Saschamaps in combination with gears or html5 persistence. On May 2, 2011 11:51 AM, "qperez" wrote: > Hi, is there any way to obtain off

Re: Can't compile gadget with GWT Plugin 2.2 or 2.3 Beta

2011-04-19 Thread Eric Ayers
having issues.  Now I'm > getting this error when I attempt to compile: > > Compiling module com.google.gwt.gadgets.Gadgets >   [ERROR] Module has no entry points defined > > Any hints? > > > > On Apr 15, 11:25 pm, Eric Ayers wrote: >> Yeah, I forgot, the Ga

Re: Can't compile gadget with GWT Plugin 2.2 or 2.3 Beta

2011-04-15 Thread Eric Ayers
ader.java: > 192) >        at > com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java: > 308) >        at > com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java: > 151) >        at com.google.gwt.dev.Compiler.run(Compiler.java:185) >

Re: Can't compile gadget with GWT Plugin 2.2 or 2.3 Beta

2011-04-11 Thread Eric Ayers
t Google might have a spare developer to do it > if it's really that simple! > > Alternatively, if someone can help me out with some instructions on > how to do this, I'd really appreciate it. > > On Apr 10, 2:52 am, Eric Ayers wrote: >> That's exa

Re: Can't compile gadget with GWT Plugin 2.2 or 2.3 Beta

2011-04-09 Thread Eric Ayers
That's exactly what the problem is (with all the gwt-google-api libraries and GWT 2.2) On Sat, Apr 9, 2011 at 12:34 PM, Juan Pablo Gardella wrote: > Is gwt-gadgets compatible with gwt 2.2? Perhaps you must compile gwt-gadgets > sources with gwt 2.2 for use in your project. > > 2011/4/8 dicko >>

Re: Mac + Google Maps 1.1 Library + Google Web Toolkit 2.2.0 SDK Bundle for Eclipse 3.5

2011-04-06 Thread Eric Ayers
So, did you recompile gwt-maps with GWT 2.2.0? http://code.google.com/p/gwt-google-apis/issues/detail?id=447 I wonder if the jsio libraries were excluded from your .jar file for some reason? On Wed, Apr 6, 2011 at 7:42 AM, Alberto wrote: > Hi everybody, I've bought a mac (macbook pro i7) and

Re: Error in MapWidget

2011-03-22 Thread Eric Ayers
> On Tue, Mar 22, 2011 at 10:18 AM, Ahmed Shoeib >> >> >> >> wrote: >> > i tried this but the problem not solved >> >> > pleas help me to solve this issue ??? >> >> > On Mar 15, 4:30 pm, Eric Ayers wrote: >> >> Did you try t

Re: Error in MapWidget

2011-03-22 Thread Eric Ayers
the problem not solved > > pleas help me to solve this issue ??? > > On Mar 15, 4:30 pm, Eric Ayers wrote: >> Did you try the options in this FAQ? >> >> http://code.google.com/p/gwt-google-apis/wiki/MapsFAQ#Why_is_my_map_s... >> >> On Mon, Mar 14, 2011 at

Re: Error in MapWidget

2011-03-15 Thread Eric Ayers
Did you try the options in this FAQ? http://code.google.com/p/gwt-google-apis/wiki/MapsFAQ#Why_is_my_map_showing_up_very_small_or_not_at_all? On Mon, Mar 14, 2011 at 5:25 AM, Ahmed Shoeib wrote: > hi all, > > i am trying to add MapWidget to VerticalPanel but the map added on the > left corner >

Re: gwt-gadget.jar version new version

2011-03-14 Thread Eric Ayers
You'll have to rebuild it yourself for now. I've been working on an update to the Gadget linker that I want to finish before release a version build against GWT 2.2. On Sun, Mar 13, 2011 at 9:51 AM, dberg wrote: > Hi All, > I've got a question about the gwt-gadget.jar library. We just > discove

Re: Google Maps API v3 support in gwt-google-apis

2011-02-23 Thread Eric Ayers
There is no timeline for supporting maps v3 with GWT bindings officially in gwt-google-apis. There are some other projects out there you can use such as http://code.google.com/p/gwt-google-maps-v3/ On Wed, Feb 23, 2011 at 11:51 AM, bmclean wrote: > Hello, > > I’m working with a client on an app

Re: GWT 2.2 and gwt-maps.jar not compatible

2011-02-14 Thread Eric Ayers
FYI, I updated an issue in the issue tracker on this problem: http://code.google.com/p/gwt-google-apis/issues/detail?id=447 On Mon, Feb 14, 2011 at 10:44 AM, Miroslav Genov wrote: > You made a new build of gwt-maps ? > > -- > You received this message because you are subscribed to the Google Gr

Re: Load/Display KML file in GWT Google Maps

2011-02-08 Thread Eric Ayers
Summary: your KML dataset must be on a server visible on the Internet. Not having your kml resource visible to Google's servers is the problem people have most often when starting out. The KML functionality shown in the KML demo uses the Google Maps API to send the URL of the KML back to Google's

Re: Developer Guide on writing with GWT a reusable javascript widget

2011-02-01 Thread Eric Ayers
A gwt-google-apis MapWidget object is not a javascript GMap2 object. A MapWidget is a GWT Widget and contains a GMap2 object inside of it, so you need to use the MapWidget constructor to create it. On Tue, Feb 1, 2011 at 2:10 PM, Thomas Lefort wrote: > Me again, there doesn't seem to be much inte

Re: GWT + Google Maps 1.1 Library Non-Map Uses

2011-01-21 Thread Eric Ayers
That sounds right to me. On Jan 21, 2011 3:16 AM, "Alberto" wrote: > Maybe I've to create a new Projection? > > On 20 Gen, 11:18, Alberto wrote: >> Hi, I'm using Google Maps API to represent some paintings. >> I've just used MapType object to create a new Map with custom tiles, >> but Mercator Pr

Re: Reading a file in a GWT-written Gadget

2011-01-18 Thread Eric Ayers
Let me know if this FAQ entry helps (use Gadgets.IO) http://code.google.com/p/gwt-google-apis/wiki/GadgetsFAQ#How_can_I_get_GWT_RPC_to_work_in_a_Gadget? On Tue, Jan 18, 2011 at 9:09 AM, ?mit wrote: > I assume that you are running into the Samoe Origin Policy Issue. > > see here: > http://code.g

Re: Google API Lib GWT

2011-01-06 Thread Eric Ayers
e Solutions from Etisalat > ------ > *From: * Eric Ayers > *Sender: * google-web-toolkit@googlegroups.com > *Date: *Thu, 6 Jan 2011 10:03:25 -0500 > *To: * > *ReplyTo: * google-web-toolkit@googlegroups.com > *Subject: *Re: Google API Lib GWT > > Here

Re: Google API Lib GWT

2011-01-06 Thread Eric Ayers
Here is a getting started guide for the Maps API http://code.google.com/p/gwt-google-apis/wiki/MapsGettingStarted On Tue, Jan 4, 2011 at 11:55 PM, Sudhakar wrote: > Guy, > > Please tell me how to use the Google API Lib (Visualiza

Re: Custom Maps

2010-12-22 Thread Eric Ayers
Did you try the HelloMaps sample code in the library? See source in com.google.gwt.maps.sample.hellomaps.client.CustomMapTypeDemo http://code.google.com/p/gwt-google-apis/source/browse/?r=1533#svn%2Ftrunk%2Fmaps%2Fsamples%2Fhellomaps%2Fsrc%2Fcom%2Fgoogle%2Fgwt%2Fmaps%2Fsample%2Fhellomaps%2Fclient

Re: google maps api

2010-12-22 Thread Eric Ayers
This library contains google maps v2 bindings: http://code.google.com/p/gwt-google-apis/ v3 bindings haven't been released yet On Wed, Dec 22, 2010 at 8:40 AM, pieceovcake wrote: > Yes i've seen these but all the example javascript v3.  I want to use the > java maps api library from within a gw

Re: RPC call from GWT gadgets

2010-12-22 Thread Eric Ayers
... > > I appreciate your efforts in replying to me. > > > Regards, > > Deepak > > On Tue, Dec 21, 2010 at 9:00 PM, Eric Ayers wrote: >> >> You need to use the Gadgets Io feature so your network calls are routed >> through the gadget container

Re: google maps api

2010-12-21 Thread Eric Ayers
Did you see the Hello Maps sample from the AdsManager demo for the gwt-google-apis version of the gwt-maps wrapper? http://gwt.google.com/samples/hellomaps-1.1.0/HelloMaps.html#Ads%20Manager On Mon, Dec 20, 2010 at 12:07 PM, pieceovcake wrote: > I'm using the google maps api to plot a point on

Re: RPC call from GWT gadgets

2010-12-21 Thread Eric Ayers
You need to use the Gadgets Io feature so your network calls are routed through the gadget container proxy. On Dec 21, 2010 10:27 AM, "दीपक B" wrote: > > > Hi all, > Has anyone tried Calling a remote SOAP service from GWT Gadget. > The Call from the client side is unable to find the servlet. > Ca

Re: GWT + Google Maps (JSNI) put a map in a panel

2010-12-16 Thread Eric Ayers
FYI: that library is not dead but that bit of source is frozen. We have been slowly refactoring that library for the gwt-google-apis project in a change branch. On Dec 15, 2010 10:18 PM, "mp31415" wrote: > Last time I tried that project (gwt-google-maps-v3) it was rather raw > (buggy). And it see

Re: To GWT or Not to GWT

2010-12-15 Thread Eric Ayers
I chimed in because I maintain the gwt-gadgets API. Personally, I could come up with some pathological cases, can't think of a single good reason to not use GWT :-) There, now maybe you will get some responses. On Wed, Dec 15, 2010 at 12:05 PM, bkard...@gmail.com wrote: > I see "Google Web Too

Re: To GWT or Not to GWT

2010-12-15 Thread Eric Ayers
OK, fair enough. I just wasn't sure if you had the Gadget problem space specifically in mind. On Wed, Dec 15, 2010 at 10:10 AM, bkard...@gmail.com wrote: > Just in case it is not clear what I am trying to ask... > > The original question post began by (I thought) implying that this is > not a con

Re: To GWT or Not to GWT

2010-12-14 Thread Eric Ayers
So, I think this discussion might be a bit moot in the gadget case. I thought that gadgets were loaded into their own iframes (at least they were at one point) and could not share code by design. On Tue, Dec 14, 2010 at 4:57 PM, bkard...@gmail.com wrote: > GWT's monolithic compile makes for real

Re: How to add multiple markers out of Array

2010-12-09 Thread Eric Ayers
This is a common problem, so I just updated the FAQ for gwt-google-apis. http://code.google.com/p/gwt-google-apis/wiki/MapsFAQ#Why_does_my_app_throw_an_exception_in_Map.addOverlay()_when_addi On Thu, Dec 9, 2010 at 6:00 AM, Jan wrote: > Hi, > > In my Array of Lists are the Points (LatLng Object

Re: How to create Gmail contextual gadget using GWT?

2010-12-06 Thread Eric Ayers
The way you get dynamic height is by implementing the NeedsDynamicHeight interface on your gadget. http://www.google.com/codesearch/p?hl=en#ow6Lmd7dcZY/trunk/gadgets/gadgets/src/com/google/gwt/gadgets/client/NeedsDynamicHeight.java&q=NeedsDynamicHeight%20package:http://gwt-google-apis%5C.googlecod

Re: how to position LargeMapControl on map

2010-12-01 Thread Eric Ayers
Try using ControlPosition: http://code.google.com/p/gwt-google-apis/source/browse/trunk/maps/maps/src/com/google/gwt/maps/client/control/ControlPosition.java On Wed, Dec 1, 2010 at 5:34 PM, 395taxi wrote: > anyone one know how to position the large map control on the top right > of the map inste

Re: Why does Google not support Maps V3 on GWT?

2010-11-11 Thread Eric Ayers
ybe ;-) ) > > Thanks > Carl > > On Nov 11, 3:27 am, Eric Ayers wrote: >> To recap from previous discussions on the gwt-google-apis mailing list: >> >> Just as the v2 API grew out of a third party API, so will the Maps v3 >> API. There are third party maps

Re: Why does Google not support Maps V3 on GWT?

2010-11-10 Thread Eric Ayers
To recap from previous discussions on the gwt-google-apis mailing list: Just as the v2 API grew out of a third party API, so will the Maps v3 API. There are third party maps v3 apis out there. We are in the process of adopting one of them and adopting it as the official bindings for v3. Our sta

Re: [Basic] GWT and Google Maps API

2010-11-08 Thread Eric Ayers
Have you seen the Google API libraries for GWT http://code.google.com/p/gwt-google-apis On Mon, Nov 8, 2010 at 2:27 PM, StrongSteve wrote: > Hello Group, > > I am currently doing some basic research for an upcoming project of > mine. > > Basically I want to simulate a large number of driving cars

Re: Maps App: PopupDialog strange behavior / sync

2010-10-19 Thread Eric Ayers
To get a better handle on why things are taking so long, go grab the SpeedTracer extension for chrome at http://code.google.com/speedtracer After you take a quick peek at your app, you can modify your app and annotate the timeline by making a JSNI call to $wnd.console.markTimeline() as described h

Re: Problem with GWT Google-Maps-API 1.1 and IE 6

2010-10-01 Thread Eric Ayers
Check out the Maps API group as well. http://code.google.com/p/gwt-google-apis/wiki/MapsFAQ#Where_can_I_go_for_more_help_using_the_Maps_API_for_GWT? On Fri, Oct 1, 2010 at 10:44 AM, Boris Lenzinger wrote: > Hi David, > > Yes you are right. I will post my message on their mailing list too. Thank

Re: Problem with GWT Google-Maps-API 1.1 and IE 6

2010-10-01 Thread Eric Ayers
I'm going to go ahead and steer you away from there because all the gwt-maps library is doing is translating your GWT calls into javascript calls to the Maps API. If you are willing to install a plugin, try the chrome frame plugin for IE6. http://code.google.com/chrome/chromeframe/ On Fri, Oct 1

Re: GWT and Map dynamic loading

2010-08-11 Thread Eric Ayers
The gwt-maps API allows you to defer loading of the Maps API. The Maps API will not actually be download until you call Maps.loadMapsApi() Regardless, what I think is happening is that your code is failing in a static initializer or before the onModuleLoad() returns. One way to debug this is to

Re: GWT and Map dynamic loading

2010-08-11 Thread Eric Ayers
That error message doesn't look familiar. Where do you see the message? Are you running in development mode or web mode? If you want to dynamically load the Google Maps API, you can use the gwt-google-apis maps library Maps.loadMapsApi() method: http://gwt-google-apis.googlecode.com/svn/javadoc

Re: Displaying google maps with IE7

2010-07-26 Thread Eric Ayers
First, make sure your hosted html page is set to standards mode. The first line should be something like: On Mon, Jul 26, 2010 at 1:17 PM, George Georgovassilis wrote: > I've recently run into the following rather bewildering issue where > maps display fine in all browsers but IE6 and IE7. > >

Re: gwt-gadgets and maven

2010-07-23 Thread Eric Ayers
ar" instead of the "gwt-gadgets- noredist.jar"... Is there something missing in the jar files or maybe in my POMs ? Thanks. On 21 juil, 17:00, Eric Ayers wrote: > Unfortunately, the latestgwt-gadgetsrelease hasn't been pushed to > Maven. We're working on it. &

Re: gwt-gadgets and maven

2010-07-21 Thread Eric Ayers
Unfortunately, the latest gwt-gadgets release hasn't been pushed to Maven. We're working on it. On Wed, Jul 21, 2010 at 5:29 AM, yoann.per...@gmail.com wrote: > Hi, > > I'm trying to develop a simple gadget using gwt-gadgets, Eclipse and > Maven. > > If i follow the procedure described in the gw

Re: Google API Library for GWT updated for GWT 2.0

2010-07-13 Thread Eric Ayers
ill help. > > > On May 13, 10:04 pm, Eric Ayers wrote: > > I'm not sure who has been submitting those jars to maven. I looked at the > > .pom files but couldn't figure it out. > > > > > > > > > > > > On Thu, May 13, 2010 at 9:57 AM, jg

Re: Maps to JPEG

2010-07-12 Thread Eric Ayers
You might try the static maps API: http://code.google.com/apis/maps/documentation/staticmaps/ Basically, you just create a URL and send it. You might use GWT's RequestBuilder class for calling it from GWT. On Fri, Jul 9, 2010 at 10:5

Google API Libraries for Google Web Toolkit - Gadgets Update

2010-06-30 Thread Eric Ayers
This is a recap of the blog post that just went out on the GWT blog http://googlewebtoolkit.blogspot.com/2010/06/google-api-libraries-for-google-web.html Although its only been a few weeks since the previous release of the open source gadgets library for Google Web Toolkit (GWT), a major overh

Re: Get all markers added by GeoXmlOverlay.load()

2010-06-08 Thread Eric Ayers
Try this library: http://code.google.com/p/gwt-maps-utility/ On Mon, Jun 7, 2010 at 5:05 PM, Jesse Fulton wrote: > I'm planning on loading a bunch of markers using the > GeoXmlOverlay.load() method, but I also need to be able to > programmatically ac

Re: Authenticating User for GWT-Data (Contacts) in GWT App

2010-06-07 Thread Eric Ayers
I've not written a gdata app before, but I'm pretty sure that what you are experiencing is by design. http://code.google.com/apis/gdata/docs/auth/overview.html On Fri, Jun 4, 2010 at 3:48 PM, Chris wrote: > Hello: > > I'm using the latest gwt-gdata package to allow users of my app > (written in

Re: Upgrading to Visualization 1.1 with GWT

2010-06-01 Thread Eric Ayers
So, what happened here is that we released updated GWT bindings for visualization a week before corechart support went public. Our next release will patch things up. In the mean time, add the string "corechart" where you would normally specify "XXX.PACKAGE" in the call ot Visualizationutils.loadV

Re: Want explaination for MapWidget.addMapZoomEndHandler

2010-05-18 Thread Eric Ayers
On Tue, May 18, 2010 at 5:17 AM, xia wrote: > In the reference it says "This event is fired when a map type is added > to the map."? > > What does that mean? Can I just say the event will be fired when the > Zoom action ends? > Oops, sorry, that is a typo. > > also want a confirmation for MapW

Re: Google API Library for GWT updated for GWT 2.0

2010-05-13 Thread Eric Ayers
aven 't found the new versions of the > Google API Libraries. > > Any updates on when will the updated libraries be available through > the maven repository? > > > On May 12, 4:43 am, Eric Ayers wrote: > > We are pleased to announce updates to the Google API Libraries fo

Re: gwt maps API and earth enterprise server

2010-05-12 Thread Eric Ayers
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 wrote: > So I

Google API Library for GWT updated for GWT 2.0

2010-05-11 Thread Eric Ayers
We are pleased to announce updates to the Google API Libraries for the Google Web Toolkit project. The Google API Libraries for GWT project allows GWT developers to access some of Google's popular JavaScript APIs. This release includes updates of five libraries: Visualization, Gears, Gadgets, Sear

Re: Cannot compile GWT from sources

2010-04-27 Thread Eric Ayers
Looks like maybe you forgot to checkout the tools directory OR set GWT_TOOLS in the environment? On Mon, Apr 26, 2010 at 9:27 AM, Lukas Vlcek wrote: > I am following > http://code.google.com/webtoolkit/makinggwtbetter.html#compiling > but I am not able to compile GWT from sources. I only changed

Re: Dialog is hidden behind Earth Map

2010-04-26 Thread Eric Ayers
Hmm. I think this is because the Earth map type is actually a Flash plugin. On Mon, Apr 26, 2010 at 3:40 PM, Chad wrote: > I was able to find the earth div, but even setting the z-index on it > down seems to have no effect. > > Anyone? > Chad > > On Apr 26, 1:27 pm, Chad wrote: >> Hi all, >> >>

Re: Internationalization for com.google.gwt.maps.client.MapWidget

2010-04-26 Thread Eric Ayers
According to the Maps API FAQ: http://code.google.com/apis/maps/faq.html#whatcountries the text should be internationalized for the languages specified in the sheet. If you create your own UI using GWT, you'll have to use GWT's internationalization mechanisms, documented in the Developer's guide

Re: My First GWT IGoogle Gadget, What do you think?

2010-04-26 Thread Eric Ayers
Thanks for sharing those examples! On Mon, Apr 26, 2010 at 3:38 AM, mariyan nenchev wrote: > Hi, > > You may want to focus the answer text box after the user clicks the answer > button. Right now the user has to refocus on the text box every time he > answers, which is annoying. > > -- > You rece

Re: Problem with HelloMaps KML Overlay

2010-04-23 Thread Eric Ayers
The URL for the .kml has changed. If you are bulding the GWT sample locally, you need to update it to the new location shown in this patch: http://gwt-code-reviews.appspot.com/377801/show On Wed, Apr 21, 2010 at 9:57 AM, Prabuddha wrote: > Hi > > I am trying to get the HelloMaps GWT Example to

Re: Problem with Asynchronous callback

2010-03-29 Thread Eric Ayers
I think you can trace what's going on by putting in a few calls to Window.alert(). The calls to getLatLng() have to go across to Google's servers and may take many milliseconds to return. You need some kind of mechanism to make sure all of the LatLngCallbacks fire before looking at listaCoordinat

Re: Problems using GWT for google gadget development

2010-03-25 Thread Eric Ayers
Thanks for the followup. -Eric. On Thu, Mar 25, 2010 at 4:35 AM, Graham Crosmarie wrote: > I solved the problem, it was that I did not deploy the whole war > because I thought the gadget was only the file.gadget.xml and in fact > the gadget needs both the gadget.xml and all teh js files in the w

Re: google map api setGoogleBarEnabled

2010-03-25 Thread Eric Ayers
Hi Balint, I sniffed around in the JavaScript Maps API docs: http://code.google.com/apis/maps/documentation/reference.html#GGoogleBarOptions and didn't see a direct way to set it, but there might be a way to do it by messing around with CSS definitions. The Google Maps API group would be a goo

Re: GWT and Maps - lazy loading

2010-03-17 Thread Eric Ayers
Checkout the Maps.loadMapsApi() call that uses the AjaxLoader API http://gwt-google-apis.googlecode.com/svn/javadoc/maps/1.0/com/google/gwt/maps/client/Maps.html#loadMapsApi(java.lang.String, java.lang.String, boolean, java.lang.Runnable) On Wed, Mar 17, 2010 at 4:52 PM, Artem wrote: > Hi! > >

Re: (GWT+Gears API)Uploaded file become multiple times bigger than original file

2010-03-16 Thread Eric Ayers
http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html#read(byte[]) in.read() returns the number of bytes read. Could it be that the number of bytes returned from the read is less than the buffer you have all

Re: InfoWindow problem

2010-03-11 Thread Eric Ayers
gt;> com.google.gwt.core.client.JavaScriptException: (TypeError): undefined is >>> not a function >>> stack: TypeError: undefined is not a function >>> at DOMWindow.CALL_NON_FUNCTION_AS_CONSTRUCTOR (native) >>> at unknown source >>> >>&g

Re: InfoWindow problem

2010-03-11 Thread Eric Ayers
; > same error >> >> 2010/3/11 Eric Ayers >> >> I still think the problem is because you are specifying an icon when >>> creating MarkerOptions. Did you change the way you call the constructor for >>> MarkerOptions? >>> >

Re: InfoWindow problem

2010-03-11 Thread Eric Ayers
Does the HelloMaps sample work for you? On Thu, Mar 11, 2010 at 2:14 PM, Fran wrote: > same error > > 2010/3/11 Eric Ayers > >> I still think the problem is because you are specifying an icon when >> creating MarkerOptions. Did you change the way you

Re: InfoWindow problem

2010-03-11 Thread Eric Ayers
map. > I can disable the drag and the result is the same. > > On 11 mar, 19:56, Eric Ayers wrote: > > Try not setting the icon at all in MarkerOptions. Check the code for the > > draggable marker exampls in HelloMaps: > > > > http://code.google.com/p/gwt-goog

Re: InfoWindow problem

2010-03-11 Thread Eric Ayers
// > nothing to do >} > >}); > >} > >}); > > if (rows==1){ >InfoWindow info = map.getInfoWindow(); > info.open(marker, new InfoWindowContent(panel)); >

Re: InfoWindow problem

2010-03-11 Thread Eric Ayers
Did you create a default marker or did you add a custom icon? If it is the latter, you need to set several attributes on it or you'll get weird errors like this. You might try searching through the gwt-google-apis group. Does this thread help? https://groups.google.com/group/gwt-google-apis/bro

Re: Google Maps V3 use with the GWT (JSNI)

2010-03-09 Thread Eric Ayers
Some folks have started a library for Google Maps v3. You can browse some sample cod here: http://code.google.com/p/gwt-google-maps-v3/source/browse/#hg/src/com/google/gwt/maps/client >From what you describe, it looks like your app is not loading the maps API before calling this code. http://cod

Re: Adding the google maps "showMore" button to a Map

2010-03-09 Thread Eric Ayers
You can create custom controls using gwt-maps by extending the CustomControl class as shown in the custom control demo that is a part of the HelloMaps application shipped with the source code. http://gwt.google.com/samples/HelloMaps-1.0.4/HelloMaps.html#Custom%20Map%20Controls The gmaps-utility l

Re: UIBinder + MapWidget

2010-02-26 Thread Eric Ayers
Could you please post this an issue on the issue tracker at http://code.google.com/p/gwt-google-apis ? Thanks, -Eric. On Thu, Feb 25, 2010 at 4:14 PM, Lypheus wrote: > Fair enough, I did try this already (sans DockPanel and also tried > nesting another g:HTMLPanel to directly wrap the MapWidget

Re: UIBinder + MapWidget

2010-02-23 Thread Eric Ayers
This has come up before, but outside of UiBinder. Try a container other than a dock panel and check the archives of the gwt-google-apis group for other suggestions. On Tue, Feb 23, 2010 at 2:07 AM, Lypheus wrote: > Having some issues with Composite/UIBinder - the following will show > the map b

Re: Debug Gadget GWT 2.0

2010-02-19 Thread Eric Ayers
I'm not really sure if it works, and I'm the maintainer. I'm pretty sure it doesn't. I haven't finished converting all the gwt-google-api projects to work with GWT 2.0. Hey, if you want to walk over to the gwt-google-apis group we could talk some more about it. I hope to have some time to bring

Re: Polylines above streets (a route, not linear distance)

2010-02-19 Thread Eric Ayers
When you perform a directions query, one of the items you get back is a polyline that covers the route. Is that what you were looking for? http://gwt-google-apis.googlecode.com/svn/javadoc/maps/1.0/com/google/gwt/maps/client/geocode/DirectionResults.html On Thu, Feb 18, 2010 at 3:39 PM, Joe wrot

Re: GWT Gears WorkerPool

2010-02-16 Thread Eric Ayers
Unfortunately, with Gears (or WebWorkers) you can't call any code from the main page, Java or JavaScript. The current implementation of gwt-gears doesn't have a way to generate javascript compatible with Gears, but the SpeedTracer project does have a linker so that you can create a module that can

Re: GWT 2.0 + Gogle Maps V3 using JSNI

2010-01-19 Thread Eric Ayers
take a look at this project, which is a beginning for a Google Maps v3 API for GWT: http://code.google.com/p/gwt-maps3/ The developers are discussing it on the gwt-google-apis group as we speak http://groups.google.com/group/gwt-google-apis On Sun, Jan 17, 2

Re: ClientBundle and gwt-gadgets cause a problem

2010-01-16 Thread Eric Ayers
Would you mind filing this as an issue at http://code.google.com/p/google-web-toolkit/issues for the GWT team to look into? In the meantime, I'd suggest simply renaming your client bundle. Thanks, -Eric. On Fri, Jan 15, 2010 at 8:49 PM, Harai Akihiro wrote: > I am developing Wave Gadgets using

Re: GWT maps: multiple maps InfoWindow problem

2010-01-13 Thread Eric Ayers
Yes, I try to recreate it - you can see the piece of code in my first > post. But this problem occurs when I try to create and open window on > the second map. > > On Jan 13, 6:08 pm, Eric Ayers wrote: > > I don't think you can use an infowindow from one map and pass it to > a

Re: GWT maps: multiple maps InfoWindow problem

2010-01-13 Thread Eric Ayers
me code was initialized previously. This means that I can't > initialize another map with info window if I have another map already > initialized. Is there some workaround? For example can I manualy > unwrap info window object if I would create another? Thank you. > > On 11 янв, 21:

Re: GWT maps: multiple maps InfoWindow problem

2010-01-11 Thread Eric Ayers
What this exception means is that the same JavaScript object has been attempted to be 'wrapped' more than once by the JSIO library used in the Maps API to interface with JavaScript. One divergence between the Maps JavaScript API and the GWT bindings to the API is that in the Maps API, there is one

Re: GWT maps 2.x version issue

2010-01-03 Thread Eric Ayers
There are some minimum version numbers required for the gwt-google-apis - see the release notes. On Sun, Jan 3, 2010 at 1:44 PM, Qian Qiao wrote: > On Sat, Jan 2, 2010 at 22:17, morfeusys wrote: >> When I trying to define another version in script tag than 2 (for >> example 2.0) my gwt compiled

Re: Developing a plugin based application

2009-12-22 Thread Eric Ayers
rapper.newInstance() >> >> } >> >> because how can the call to the method LayerWrapper.newInstance() >> understand which is the correct implementation to call? >> >> Thank for your help, I owe you a beer :) >> Bye >> >> Marco >> >

Re: New layouts not playing nicely with Maps

2009-12-21 Thread Eric Ayers
. > > I don't really want to provide dimensions in pixels if I don't have > to. Is this the only way? In the past I've always recommended dimensions in pixels for best results. You could hack around this by hooking into the resize event listener. > > Thanks > >

Re: Developing a plugin based application

2009-12-19 Thread Eric Ayers
) > } > > because how can the call to the method LayerWrapper.newInstance() > understand which is the correct implementation to call? > > Thank for your help, I owe you a beer :) > Bye > > Marco > > On 16 Dic, 23:45, Marco Visonà wrote: >> Hi Eric >>

Re: Unable debug gadgets on Shindig container

2009-12-18 Thread Eric Ayers
Hi Cymun, You aren't the first to report this problem. Would you mind filing an issue on http://code.google.com/p/gwt-google-apis in the issue tracker? I looked there yesterday for an issue and didn't find one. Thanks, -Eric. On Fri, Dec 18, 2009 at 5:22 AM, Cymun wrote: > Hi all, > I'm usin

Re: Geolocation without Gears?

2009-12-17 Thread Eric Ayers
Unfortunately, when there is no match for the IP address, the google.loader.ClientLocation property will be null. If you've got the google.loader property configured, but not google.loader.ClientLocation, you're out of luck. Anyway, I've got a patch up for the gwt-google-apis that wraps the Client

Re: Google Maps, Marker does not close

2009-12-17 Thread Eric Ayers
-toolkit/browse_thread/thread/85674e6db8e97d1a# > > On Dec 17, 4:17 pm, Eric Ayers wrote: > > Hello pfdevil, > > > > Set a breakpoint in your MapClickHandler instance with a Java debugger > (like > > running in Debug mode in Eclipse) to get a handle on what you

Re: New layouts not playing nicely with Maps

2009-12-17 Thread Eric Ayers
Hi Jeff, I played around with this and got it to work with these panels: private MapWidget map; // GWT module entry point method. public void onModuleLoad() { Maps.loadMapsApi(null, null, false, new Runnable() { public void run() { LatLng cawkerCity = LatLng.newInstance(39.509, -98.434); // O

Re: Google Maps, Marker does not close

2009-12-17 Thread Eric Ayers
Hello pfdevil, Set a breakpoint in your MapClickHandler instance with a Java debugger (like running in Debug mode in Eclipse) to get a handle on what your code is doing. I see one odd thing. Although it isn't necessarily wrong, you're creating a new marker every time the handler goes off. You

Re: Developing a plugin based application

2009-12-16 Thread Eric Ayers
tion on the array elements, at each round creating the > running layer object. > > Bye > > Marco > > > On 16 Dic, 16:24, Eric Ayers wrote: > > Hi Marco, > > > > Could you explain more of the intent of what you are looking for? > > > > I'm not sure

Re: Developing a plugin based application

2009-12-16 Thread Eric Ayers
Hi Marco, Could you explain more of the intent of what you are looking for? I'm not sure what the intent of the plugin based architecture is. If it is to enable third party developers to be able to link into a pre-compiled GWT app, its going to be quite difficult. Normally, GWT obfuscates the s

Re: Google Maps and GWT 2

2009-12-15 Thread Eric Ayers
If you look at the Getting Started for the Visualization API, it has been updated for webAppCreator. Let me know if that helps. -Eric. On Mon, Dec 14, 2009 at 1:46 PM, pfdevil wrote: > Hello, > > I'm trying to do the google maps tutorial at > > http://code.google.com/docreader/#p=gwt-google-ap

  1   2   3   4   5   >