My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3154: Peg Man Appearing
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Mar 2011


Sign in to add a comment
 
Reported by [email protected], Mar 17, 2011
When using ImageMapType for a custom tiles, the 'peg man' appears on the map after returning from Streetview. In our case, we use the Streetview API for custom panoramas, but I believe this may be true for normal Streetview per the issue below: 

The issue was reported in groups and followed-up on by a Google employee in February but it was never resolved:
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/dc0aeb144515c915
Mar 18, 2011
#1 [email protected]
Found a workaround for this:

// Assume map id="map" and panorama object id="panorama"
setTimeout(function() {
 
  // Hide the background for the closing 'X'
  $('#map [title*="Exit Street View"]').parent().hide();

  // Hide the Streetview sprite image
  $('#map img[src*=http://maps.gstatic.com/intl/en_us/mapfiles/cb/mod_cb_scout/cb_scout_sprite_api_002.png]').hide();

}, 1000);

// Then build your own closing button function
function closePano(){
  panorama.setVisible(false);
}

// Use this on your page to close the panoramic view 
<a href="#" onClick="closePano();">Close Window</a>
Mar 20, 2011
Project Member #2 [email protected]
(No comment was entered for this change.)
Status: FixedNotReleased
Labels: Internal-3482145
Mar 21, 2011
#3 [email protected]
(No comment was entered for this change.)
Status: Fixed
Labels: Fixed-3.4
Sign in to add a comment

Powered by Google Project Hosting