You could try to make your own little buttons instead and overlay them
where ever you want...

Here is some code Ive written...

function turnRight() {
        currentYaw = currentYaw + 90;
        panorama.panTo({yaw: currentYaw, pitch: currentPitch, zoom:
currentZoom});
}

function zoomIn() {
        if (currentZoom <2){
                currentZoom = currentZoom + 1;
        }
        panorama.panTo({yaw: currentYaw, pitch: currentPitch, zoom:
currentZoom});
}


You can just make some images and modify there z index to have them
displayed over the streetview. Markers and other stuff might be
harder, I have done something like that before... what you could do is
get the Lat Lngs and if your current position is at the predefined
position then make something pop up... These are all just ideas, but I
say the best thing to do is just overlay stuff.

-Edgar


On Jul 27, 9:14 pm, Christi <[email protected]> wrote:
> Yeah, no luck here either. I would love to find any information about
> customizing thestreetviewembed -- overlays, markers, etc.
>
> Doesn't look like it's possible now....
>
> Christi
>
> On Jul 7, 9:39 am, HFidgen <[email protected]> wrote:
>
> > Hiya,
>
> > I'm using streetview as an embed in one of my pages. I'd really like
> > to remove the streetview controls though, or at least change their
> > position to the top right, instead of the default top left.
>
> > My javascript code is controlling the embed, and the API documentation
> > suggests that "streetview" is just another layer on top of the normal
> > maps API, but I can't find any way of removing them.
>
> > Can anyone help?
>
> > function initcf1() {
> >         var myPano = new GStreetviewPanorama(document.getElementById
> > ("container"));
> >         position= new GLatLng(51.479018, -0.215178);
> >         myPOV = {yaw:378.64659986187695, pitch:-7};
> >         myPano.setLocationAndPOV(position, myPOV);
> >         GEvent.addListener(myPano, "error", handleNoFlash);}
>
> > google.setOnLoadCallback(initcf1);
>
> > Thanks!
> > H
--~--~---------~--~----~------------~-------~--~----~
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