Skip to content

Commit

Permalink
Dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Jun 4, 2016
1 parent 31a32a1 commit 75a06ed
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions app/Module/GoogleMapsModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -4689,24 +4689,6 @@ function initialize() {
// Now add the ImageMapType overlay to the map
//--------------------------------------------------------------------------------------
map.overlayMapTypes.push(null);

//======================================================================================
// Now create the StreetView ImageMap
//--------------------------------------------------------------------------------------
var street = new google.maps.ImageMapType({
getTileUrl: function(coord, zoom) {
var X = coord.x % (1 << zoom); // wrap
return 'https://cbk0.google.com/cbk?output=overlay&zoom=' + zoom + '&x=' + X + '&y=' + coord.y + '&cb_client=api';
},
tileSize: new google.maps.Size(256, 256),
isPng: true
});

//======================================================================================
// Add the Street view Image Map
//--------------------------------------------------------------------------------------
map.overlayMapTypes.setAt(1, street);
//==============================================================================================
}

function toggleStreetView() {
Expand Down

0 comments on commit 75a06ed

Please sign in to comment.