Permalink
Browse files

added the projection used by the examples

  • Loading branch information...
1 parent fd40faf commit 3d20c040b19db9bf6240f95d67bd9cc483174ce8 @stvno stvno committed Jul 27, 2011
Showing with 3 additions and 1 deletion.
  1. +1 −0 demo/widgets/mqFeatureInfo.html
  2. +2 −1 demo/widgets/mqPopup.html
View
1 demo/widgets/mqFeatureInfo.html
@@ -22,6 +22,7 @@
label: 'Polygons',
url: '../data/poly.json'
}],
+ projection:'EPSG:4326',
maxExtent: [0, -90, 160, 90]
});
//map.data('mapQuery').center({zoom:2});
View
3 demo/widgets/mqPopup.html
@@ -6,7 +6,7 @@
<title>MapQuery widget example</title>
<link rel="stylesheet" href="../../lib/jquery/themes/base/jquery-ui.css" type="text/css" media="all" />
<link rel="stylesheet" type="text/css" href="../style/style.css" />
- <script src="../../lib/openlayers/OpenLayers.js" type="text/javascript"></script>
+ <script src="../../lib/openlayers/lib/OpenLayers.js" type="text/javascript"></script>
<script src="../../lib/jquery/jquery-1.4.4.js" type="text/javascript"></script>
<script src="../../lib/jquery/ui/jquery-ui.js" type="text/javascript"></script>
<script src="../../lib/jquery/jquery.tmpl.js" type="text/javascript"></script>
@@ -23,6 +23,7 @@
label: 'Polygons',
url: '../data/poly.json'
}],
+ projection:'EPSG:4326',
maxExtent: [0, -90, 160, 90]
});
$('#popup').mqPopup({

0 comments on commit 3d20c04

Please sign in to comment.