Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix to disable 45 degree angle tilted imagery as default in Google tiles

v2: Merge two patches into one

Signed-off-by: Pavel Shramov <shramov@mexmat.net>
  • Loading branch information...
commit 58330e61dc1891493b8e4a8cac6b44d17fc11455 1 parent a864572
@jywarren jywarren authored Pavel Shramov committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  layer/tile/Google.js
View
1  layer/tile/Google.js
@@ -100,6 +100,7 @@ L.Google = L.Class.extend({
var map = new google.maps.Map(this._container, {
center: this._google_center,
zoom: 0,
+ tilt: 0,
mapTypeId: google.maps.MapTypeId[this._type],
disableDefaultUI: true,
keyboardShortcuts: false,

3 comments on commit 58330e6

@robertharm

is there a special reason, why this is disabled by default? I didnt notice any bug when using tilt: 45

@jywarren

Yes, overlay imagery does not fit over 45° imagery, so if it's the default then things break when tilting begins.

@robertharm
Please sign in to comment.
Something went wrong with that request. Please try again.