Index: trunk/extensions/SlippyMap/SlippyMap.class.php |
— | — | @@ -72,9 +72,9 @@ |
73 | 73 | if ( isset( $argv['lon'] ) ) { |
74 | 74 | $lon = $argv['lon']; |
75 | 75 | } else if ( isset( $oldStyleParams['lon'] ) ) { |
76 | | - $layer = $oldStyleParams['lon']; |
| 76 | + $lon = $oldStyleParams['lon']; |
77 | 77 | } else { |
78 | | - $layer = ''; |
| 78 | + $lon = ''; |
79 | 79 | } |
80 | 80 | if ( isset( $argv['z'] ) ) { |
81 | 81 | $zoom = $argv['z']; |