Re: GTileLayerOverlay show and hide
Unfortunately, I can't post a link to be helpful to them On Dec 11, 3:41 pm, ben wrote: > thanks for the help > > On Dec 11, 3:25 pm, Eric Ayers wrote: > > > You might try over on the Google-Maps-Api google group, but be sure to > > read their posting guidelines first. > > > On Thu, Dec 11, 2008 at 3:19 PM, ben wrote: > > > > Thanks, it returns null but I looked at the fusionmaps local js file, > > > and it seems mJavascriptVersion = 109. So the problem is fixed in > > > 125, based on the link you gave me. Interesting. > > > > Anyway, they reference doing add/remove. I tried doing > > > map.removeOverlay, addOverlay, with a reference to the Overlay in my > > > TreeNode, but for some reason remove works, but add never works > > > again. Any thoughts on a work around? > > > > On Dec 11, 2:50 pm, Eric Ayers wrote: > > >> /** > > >>* 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 wrote: > > > >> > I was just trying to figure out how I determine the maps version. > > > >> > On Dec 11, 2:32 pm, Eric Ayers 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 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 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 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 > > >> USAhttp://code.google.com/webtoolkit/ > > > -- > > Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://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 -~--~~~~--~~--~--~---
Re: GTileLayerOverlay show and hide
thanks for the help On Dec 11, 3:25 pm, Eric Ayers wrote: > You might try over on the Google-Maps-Api google group, but be sure to > read their posting guidelines first. > > > > On Thu, Dec 11, 2008 at 3:19 PM, ben wrote: > > > Thanks, it returns null but I looked at the fusionmaps local js file, > > and it seems mJavascriptVersion = 109. So the problem is fixed in > > 125, based on the link you gave me. Interesting. > > > Anyway, they reference doing add/remove. I tried doing > > map.removeOverlay, addOverlay, with a reference to the Overlay in my > > TreeNode, but for some reason remove works, but add never works > > again. Any thoughts on a work around? > > > On Dec 11, 2:50 pm, Eric Ayers wrote: > >> /** > >>* 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 wrote: > > >> > I was just trying to figure out how I determine the maps version. > > >> > On Dec 11, 2:32 pm, Eric Ayers 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 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 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 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 > >> USAhttp://code.google.com/webtoolkit/ > > -- > Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://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 -~--~~~~--~~--~--~---
Re: GTileLayerOverlay show and hide
You might try over on the Google-Maps-Api google group, but be sure to read their posting guidelines first. On Thu, Dec 11, 2008 at 3:19 PM, ben wrote: > > Thanks, it returns null but I looked at the fusionmaps local js file, > and it seems mJavascriptVersion = 109. So the problem is fixed in > 125, based on the link you gave me. Interesting. > > Anyway, they reference doing add/remove. I tried doing > map.removeOverlay, addOverlay, with a reference to the Overlay in my > TreeNode, but for some reason remove works, but add never works > again. Any thoughts on a work around? > > On Dec 11, 2:50 pm, Eric Ayers wrote: >> /** >>* 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 wrote: >> >> > I was just trying to figure out how I determine the maps version. >> >> > On Dec 11, 2:32 pm, Eric Ayers 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 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 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 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 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 -~--~~~~--~~--~--~---
Re: GTileLayerOverlay show and hide
Thanks, it returns null but I looked at the fusionmaps local js file, and it seems mJavascriptVersion = 109. So the problem is fixed in 125, based on the link you gave me. Interesting. Anyway, they reference doing add/remove. I tried doing map.removeOverlay, addOverlay, with a reference to the Overlay in my TreeNode, but for some reason remove works, but add never works again. Any thoughts on a work around? On Dec 11, 2:50 pm, Eric Ayers wrote: > /** >* 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 wrote: > > > I was just trying to figure out how I determine the maps version. > > > On Dec 11, 2:32 pm, Eric Ayers 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 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 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 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 USAhttp://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 -~--~~~~--~~--~--~---
Re: GTileLayerOverlay show and hide
As far as the effort required to port: Classes have been renamed to drop the leading 'G'. Callbacks follow a different pattern (for map events in particular.) I guess the big question is, how much code do you have in your app that uses the Maps API? On Thu, Dec 11, 2008 at 2:43 PM, ben wrote: > > as a side note, is the transition for gwt-api's version and mapitz a > large change? > > On Dec 11, 2:34 pm, ben wrote: >> I was just trying to figure out how I determine the maps version. >> >> On Dec 11, 2:32 pm, Eric Ayers 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 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 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 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 -~--~~~~--~~--~--~---
Re: GTileLayerOverlay show and hide
/** * 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 wrote: > > I was just trying to figure out how I determine the maps version. > > On Dec 11, 2:32 pm, Eric Ayers 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 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 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 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 -~--~~~~--~~--~--~---
Re: GTileLayerOverlay show and hide
as a side note, is the transition for gwt-api's version and mapitz a large change? On Dec 11, 2:34 pm, ben wrote: > I was just trying to figure out how I determine the maps version. > > On Dec 11, 2:32 pm, Eric Ayers 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 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 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 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/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: GTileLayerOverlay show and hide
I was just trying to figure out how I determine the maps version. On Dec 11, 2:32 pm, Eric Ayers 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 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 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 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/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: GTileLayerOverlay show and hide
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 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 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 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 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 -~--~~~~--~~--~--~---
Re: GTileLayerOverlay show and hide
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 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 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/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: GTileLayerOverlay show and hide
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 <[EMAIL PROTECTED]> 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 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---