Doesn't these two lines work without pano_layer.js and
PanoMapTypeControl?
var layer = new GLayer("com.panoramio.all");
map.addOverlay(layer);
On Feb 17, 3:04 pm, bget <[email protected]> wrote:
> Please , help me :
>
> I use pano_layer.js and PanoMapTypeControl and I would like to get
> panoramio photos loaded when body load (without click on toolbar).
>
> How do you write the command ?
>
> I tried :
> var bounds = map.getBounds();
> var southWest = bounds.getSouthWest();
> var northEast = bounds.getNorthEast();
> PanoramioLayer.prototype.load(map, {maxy: northEast.lat(), miny:
> southWest.lat(), maxx: northEast.lng(), minx: southWest.lng()});
>
> but the script said that "ids" are undefined
>
> Thanks a lot
>
> Laurent L
>
> [email protected]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---