Hello,

I'm trying to make the infowindow move

I've used the Streetview API: Simple example as a base. See my
example: http://tech.reumer.net/test/streetviewbubble.html

I'm trying to make the Guyicon and it's infowindow move according to
the movement in the streetview, but it's not working

I've looked at:
http://groups.google.com/group/Google-Maps-API/browse_thread/thread/93c684840578f6e0/bd96bff130575a98?lnk=gst&q=move+infowindow+marker#bd96bff130575a98
But this doesn't work. After the statement with reposition nothing is
executed,

I now use:
function onNewLocation(point) {
// Get the original x + y coordinates
  marker.setLatLng(point.latlng);
  var iw = map.getInfoWindow();
  //iw.reposition(point.latlng, new GSize(0,-32));
  iw.reset(point.latlng, iw.getTabs(), new GSize(250,150),
iw.getPixelOffset());
//  map.panTo(point.latlng);
}

This makes my browser FF2 crash.

Does anybody have a solution for it?

Best regards Mike Reumer







--~--~---------~--~----~------------~-------~--~----~
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