r38258 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r38257
|
r38258
|
r38259
>
Date:
21:37, 30 July 2008
Author:
yaron
Status:
old
Tags:
Comment:
Fixed error in setting zoom - longitude goes from -180 to 180, not -90 to 90
Modified paths:
/trunk/extensions/SemanticGoogleMaps/SGM_QueryPrinter.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/SemanticGoogleMaps/SGM_QueryPrinter.php
—
—
@@ -109,8 +109,8 @@
110
110
// the correct zoom level for the map
111
111
$min_lat = 90;
112
112
$max_lat = -90;
113
- $min_lon = 90;
114
- $max_lon = -90;
113
+ $min_lon = 180;
114
+ $max_lon = -180;
115
115
foreach ($locations as $i => $location) {
116
116
list($lat, $lon) = $location;
117
117
if ($lat < $min_lat) {$min_lat = $lat; }
Status & tagging log
15:29, 12 September 2011
Meno25
(
talk
|
contribs
)
changed the
status
of r38258
[
removed:
ok
added:
old]