Thank you Pierre

It happens I have climbed Marble Mountain, an beautiful peak on the
boundary, so it's nice to see it on your map.

Looking at the differences in approach, I see two things:

1) I use a variable tile size: US: topos: 400, NRCan raster: 600.
NRCan vextor: 256.  This may affect the efficiency of downloading, I
would need to test to understand this better.

2) The choice of putting several parameters such as "Layer" as part of
the original baseURL, or to put it in the function return
WMSGetTileUrl)().  It doesn't matter in the end, but I would probably
like to keep parameters which differ in the originally specified
baseURL, so that the WMSGetTileUrl() is generic.  For example at the
moment, every service is set "VERSION=1.1.1", which is probably wrong
(although it may not matter), in tyhe case 'f "LAYER=xxx" it's an
extra function argument which could just as well be put as part of the
original baseUrl.

Incidentally, I expect to leave the NRCan Raster type on my maps,
since they give a good rendition at wide zoom levels (small value of
Google Maps zoom), whereas the vector data is much better at closer
zoom but does not have any tiles at wide zooms.  So I will use both.
It would be nice to switch dynamically between the two, but I don't
know how to do that.  For the USGS maps, the Terraserver will choose
which original map tiles to use (1:24,000, 1:100,000, and 1:250,000)
and returns the appropriate tile automatically.

I will do some more testing and tweaking and post another version.

On Sep 9, 4:39 pm, PierreB <[email protected]> wrote:
> My test was wrong since I pointed to my own WMSGetTileUrl function. If
> I point to your function pbWMSGetTileUrl, it does not work.
>
> I did'nt realize that you add parameters to the return statement of
> your CanVecGetTileUr function.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to