[Users] Base Map Layers all get loaded on map load
Dan Ramage
dan at inlet.geol.sc.edu
Tue Feb 23 18:11:49 CET 2010
I am not sure if this is an issue with GeoExt and the gx_mappanel, Mapfish,
or something else I've done, but as the Subject says when my map is first
loaded more than initial base map is loaded.
I think I am triggering the load of the other base map layer when I build my
layer tree. I've got 2 Google layers and one GeoTiff for base maps.
Doing some debugging, I've added a "loadstart" to the GeoTiff layer. This
event is fired if I add my ExtJS TreePanel to the viewport. If I just create
the TreePanel, but don't add it to the viewport, the layer is not loaded.
This only seems to be happening with this one base map layer.
Another oddity, and I am again not sure if this is a GeoExt or OpenLayers
issue, is with the Google Layers. Looking at the openlayers example:
http://openlayers.org/dev/examples/google.html
the net traffic shows only the Physical Map data is coming back. In my map,
I get the Physical data as well as some queries for the regular Google
Map/roads. There are just a few tiles for the road map, but I have no idea
why those are getting requested.
The physical map requests have this format:
http://mt0.google.com/vt/v=app.118
<http://mt0.google.com/vt/v=app.118&hl=en&src=api&x=18&y=25&z=6&s=Galileo>
&hl=en&src=api&x=18&y=25&z=6&s=Galileo
The "road map" seems to have this format:
http://mt1.google.com/vt/lyrs=m@118
<http://mt1.google.com/vt/lyrs=m@118&hl=en&src=api&x=35&y=50&z=7&s=Gal>
&hl=en&src=api&x=35&y=50&z=7&s=Gal
My site is here: http://carolinasrcoos.org/carolinasrcoos.html
I am not sure if the two issues are related at all, however I appreciate any
feedback.
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100223/15a2fee8/attachment.html
More information about the Users
mailing list