/**
   * Return the Maps API Version currently loaded.
   *
   * @return the Maps API Version currently loaded.
   */
  public static native String getVersion() /*-{
    return $wnd.G_API_VERSION;
  }-*/;

On Thu, Dec 11, 2008 at 2:34 PM, ben <sidevi...@gmail.com> wrote:
>
> I was just trying to figure out how I determine the maps version.
>
> On Dec 11, 2:32 pm, Eric Ayers <zun...@google.com> wrote:
>> What the maps team always asks of me is to try to reproduce the
>> problem in a small bit of straight JavaScript and if you can reproduce
>> it, then they will look at the problem.  You might be able to
>> determine if that has a chance of solving it before moving all your
>> code over.
>>
>> Also, do you know which version of the Maps API you are using?
>>
>>
>>
>> On Thu, Dec 11, 2008 at 2:23 PM, ben <sidevi...@gmail.com> wrote:
>>
>> > That does sound like my problem, but remove and add don't seem to work
>> > either for me.  I'm using mapitz library currently, and will make a
>> > switch to the gwt-google-apis in the near future.  Maybe the problem
>> > is related to the mapitz library as well?
>>
>> > On Dec 10, 8:43 pm, Eric Ayers <zun...@google.com> wrote:
>> >> Are you using the gwt-maps.jar library from the gwt-google-apis project?
>>
>> >> If so, this sounds familiar.  See issue 107 where this was a problem
>> >> with GGeoXml overlays:
>>
>> >>http://code.google.com/p/gwt-google-apis/issues/detail?id=107
>>
>> >> Let me know if that helps.
>>
>> >> On Wed, Dec 10, 2008 at 6:28 PM, ben <sidevi...@gmail.com> wrote:
>>
>> >> > I have my GTileLayerOverlay adding and showing on start, and have them
>> >> > listed in a tree on the left.  I then want the checkbox to toggle the
>> >> > visibility of the layer.  But my problem is I have tried both remove
>> >> > and show/hide.  Hide hides the GTileLayerOverlay, until you change the
>> >> > zoom on the map.  Then it's back, so that's no help.  So I try to
>> >> > remove the overlay, and then re-add it, but it never comes back.
>>
>> >> > Any suggestions?
>>
>> >> > P.s. I would like to start the overlay off, so I tried adding it
>> >> > hiding, but it doesn't do anything.  if I don't have it added on load
>> >> > of the map, then it seems addOverlay doesn't do anything.
>>
>> >> > Do I need to call something after addOverlay?  I tried setCenter
>> >> > (map.getCenter()) to see if would force some sort of rendering to
>> >> > occur but it doesn't seem to do anything.
>>
>> >> --
>> >> Eric Z. Ayers - GWT Team - Atlanta, GA 
>> >> USAhttp://code.google.com/webtoolkit/
>>
>> --
>> Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://code.google.com/webtoolkit/
> >
>



-- 
Eric Z. Ayers - GWT Team - Atlanta, GA USA
http://code.google.com/webtoolkit/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to