The transit layer is disabled in the layer server

The API code will send requests to the layer server in exactly the same 
way that it does for the accessible layers, but all requests from the 
API have an extra "&source=maps_api" parameter, and the server takes 
that into consideration when deciding whether to honour the request.

E.g. maps.google.com makes requests to the mapslt server that look like 
this, and gets back a transit image.

  http://mlt2.google.com/mapslt?lyrs=transit&x=262&y=380&z=10&w=256&h=256

If you try to use the transit layer from the API, it sends the same 
request, but with the extra parameter, and the server decides to return 
nothing.

  http://mlt2.google.com/mapslt?lyrs=transit&x=262&y=380&z=10&w=256&h=256&;
source=maps_api

-- 
Mike Williams
http://econym.org.uk/gmap



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to