ToastFreeware
/
philipp
/
winterrodeln
/
mediawiki_extensions
/
wrmap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98bae7c
)
The default zoom level of 10 is back again.
author
philipp
<philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Mon, 9 Sep 2013 18:56:05 +0000
(18:56 +0000)
committer
philipp
<philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Mon, 9 Sep 2013 18:56:05 +0000
(18:56 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrmap/trunk@1559
7aebc617
-e5e2-0310-91dc-
80fb5f6d2477
wrmap.js
patch
|
blob
|
history
diff --git
a/wrmap.js
b/wrmap.js
index c10144368ea4206723629ed7fc696c090aefd00a..00f4fc9cc61c0f5c5bbacbda4df1107dd9be4a12 100644
(file)
--- a/
wrmap.js
+++ b/
wrmap.js
@@
-167,6
+167,7
@@
function init_wrmap(i, jq_map) {
var lon = json_js.properties.lon;
var lat = json_js.properties.lat;
var zoom = json_js.properties.zoom;
+ if (zoom === undefined) zoom = 10; // default zoom
var map = new OpenLayers.Map(jq_map.context, {
projection: EPSG3857,
displayProjection: EPSG4326,