Very good results. I will try to reproduce it.

This means that Canada map overlaps USA map since region just north of
border comes from NRCAN.

I wonder what it would give for zoom levels of 10 or less.

A very good progress from the first version. This discussion whas very
interesting and helpfull.

Pierre

On 15 sep, 14:53, Papa Bear <[email protected]> wrote:
> On Sep 15, 12:41 pm, Papa Bear wrote:
> ,,,
>
>
>
> > One last general question: is there a way to set the background to be
> > transparent?  If I could do that, I could overlay these maps on top of
> > the USGS topos and get native topographic maps on both sides of the
> > border.  In other words, the NRCan maps would cover the USGS topos in
> > Canada, but not in the US where NRCan produces no layers (at least for
> > zoom >= 11).
>
> I figures it out. Combining USGS and NRCan maps:
>
> 1) set the "transparent" URL parameter for both USGS topos and NRCan
> Vector (CanVec): &transparent=true
>
> 2) set the "format" URL parameter for CanVec: &format=image/png
>
> 3) set the "format" URL parameter for USGS topo: &format=image/jpeg
>
> 4) add this line to WMCreateMap()
> if (name=='Topo') tileLayers.push(C_NRCAN_VECTOR.getTileLayers()[0]);
>
> 5) create the CanVec map type first
>
> 6) create the USGS map type after
>
> Bingo!http://picasaweb.google.com/lh/photo/mvR4Ji08zBbRZNNUHp-pdg?feat=dire...
>
> Now it's time to take a break from this stuff!
--~--~---------~--~----~------------~-------~--~----~
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