Chris, Yes I did notice current traffic is directly baked onto the background image tiles.
For now I am using a map type from this example: http://code.google.com/apis/maps/documentation/javascript/examples/maptype-traffic.html It works for me. My question is, will this be unsupported? It's indeed some sort of direct tile access. If it can go away anytime, I probably should file a feature request. Thanks Nianwei On Dec 1, 2:43 am, Chris Broadfoot <[email protected]> wrote: > Hi Nianwei, > > Sorry for the late reply. > > The reason for this is because at present the traffic layer is not laid over > the tiles on the client. The layer does not have transparency. > > If you'd like, please file a feature request on our issue tracker. > > Cheers > Chris > > On Tue, Nov 2, 2010 at 7:30 AM, Nianwei Liu <[email protected]> wrote: > > Noticed an interesting issue. > > The TrafficLayer class seems tied closely to one of the base Google > > Map types: map, hybrid and terrain. It does not work as a regular > > overlay in the sense that it can display on top of any map type, > > including customized map type. > > > Take a look at this example from the API: > > >http://code.google.com/apis/maps/documentation/javascript/examples/la... > > > When in Satellite mode, it disappears. It make sense for this > > particular purpose of wanting to hide everything other than the image, > > but I think it probably better to let developer decide when to hide/ > > show it based on map type, and it probably SHOULD available for > > customized map type. > > > Is that by design or something else? > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Maps JavaScript API v3" group. > > To post to this group, send email to > > [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<google-maps-js-api-v3%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-maps-js-api-v3?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
