Zn2O / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

TileLayerOverlay does not expose the refresh() method #132

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release: 0.0.29

Detailed description:
GoogleMapsAPI's GTileLayerOverlay has a refresh() function which is very
important for, say, a WMSTileLayerOverlay implementation.

Workaround if you have one:
snv diff is attached.  contains mods to TileLayerOverlayImpl and
TileLayerOverlay

Links to the relevant GWT Developer Forum posts:

Original issue reported on code.google.com by jesse.cr...@gmail.com on 12 Jun 2008 at 4:00

Attachments:

GoogleCodeExporter commented 9 years ago
-path-corrected.patch

Original comment by jesse.cr...@gmail.com on 12 Jun 2008 at 5:25

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by galgwt.reviews@gmail.com on 12 Jun 2008 at 7:56

GoogleCodeExporter commented 9 years ago

Original comment by mmendez+personal@google.com on 16 Jun 2008 at 2:55

GoogleCodeExporter commented 9 years ago
I just noticed this method is undocumented.

Original comment by galgwt.reviews@gmail.com on 20 Jun 2008 at 6:28

GoogleCodeExporter commented 9 years ago
Hi Jesse-

Does that function actually work correctly for you? Do you have a demo if it 
working?
I want to make sure we only document it if its doing what developers think it 
will.
Thanks!

Original comment by pamela.fox on 21 Jul 2008 at 5:29

GoogleCodeExporter commented 9 years ago
Yes, it functions quite well, in fact.
The problem was that I could not get a TileOverlay to update based on changing
parameters in a WMS client object.  By exposing the refresh() method through 
GWT,
I was able to call refresh() after my WMS client updated, either through user
interaction with the WMS control (turning layers on or off) or by changing the 
map
location (panning or zooming), and this caused the tiles to refresh.

I do not have a public demo using this method anymore.  Other issues led me to 
use a
GroundOverlay instead of the TileOverlay (CRS mismatches, along with the fact 
that my
WMS is a cascading WMS, so distributing Tile requests to remote WMSs slows 
things
down immensely). 

Original comment by jesse.cr...@gmail.com on 21 Jul 2008 at 9:18

GoogleCodeExporter commented 9 years ago
Okay, it looks like we'll be documenting this in the API soon and once that's 
done,
we'll add it to the GWT wrapper.

Original comment by pamela.fox on 22 Jul 2008 at 2:43

GoogleCodeExporter commented 9 years ago
As of today, the method is still undocumented.

Original comment by galgwt.reviews@gmail.com on 11 Sep 2008 at 7:12

GoogleCodeExporter commented 9 years ago

Original comment by galgwt.reviews@gmail.com on 16 Sep 2008 at 2:12

GoogleCodeExporter commented 9 years ago
Incorporated Jesse's patch in trunk as of r1163.

Original comment by galgwt.reviews@gmail.com on 12 Jan 2009 at 3:16

GoogleCodeExporter commented 9 years ago
Released in gwt-maps-1.0.3

Original comment by galgwt.reviews@gmail.com on 21 Feb 2009 at 1:26

GoogleCodeExporter commented 9 years ago

Original comment by zundel@google.com on 21 Dec 2009 at 1:57