Permalink
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...
jywarren authored and Pavel Shramov committed Aug 7, 2012
1 parent a864572 commit 58330e61dc1891493b8e4a8cac6b44d17fc11455
Showing with 1 addition and 0 deletions.
  1. +1 −0 layer/tile/Google.js
View
@@ -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

This comment has been minimized.

Show comment Hide comment
@robertharm

robertharm Aug 17, 2012

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

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

@jywarren

This comment has been minimized.

Show comment Hide comment
@jywarren

jywarren Aug 17, 2012

Contributor

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

Contributor

jywarren replied Aug 17, 2012

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

@robertharm

This comment has been minimized.

Show comment Hide comment
@robertharm

robertharm Aug 18, 2012

Please sign in to comment.