switch back to google maps until i understand projections
This commit is contained in:
parent
1441cb98a9
commit
5dfad354ff
|
@ -127,13 +127,13 @@ var API_BASE = "/1.0/",
|
|||
var center = new OpenLayers.LonLat(72.855211097628413, 19.010775291486027);
|
||||
map = new OpenLayers.Map("mapCol", {});
|
||||
var layers = [];
|
||||
layers[0] = new OpenLayers.Layer.OSM();
|
||||
/*
|
||||
// layers[0] = new OpenLayers.Layer.OSM();
|
||||
|
||||
layers[0] = new OpenLayers.Layer.Google(
|
||||
"Google Streets", // the default
|
||||
{numZoomLevels: 20, isBaseLayer: true}
|
||||
);
|
||||
*/
|
||||
|
||||
geojson_format = new OpenLayers.Format.GeoJSON();
|
||||
//yes, jsonLayer is global. Yes, I know it's wrong.
|
||||
jsonLayer = layers[1] = new OpenLayers.Layer.Vector({'geometryType': 'Point'});
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<link rel="stylesheet" href="/static/css/editstops.css" />
|
||||
<script type="text/javascript" src="/static/js/editstops.js"></script>
|
||||
<script type="text/javascript" src="http://openlayers.org/dev/OpenLayers.js"></script>
|
||||
<!-- <script src='http://maps.google.com/maps?file=api&v=2&key=AIzaSyBbz_Bjqtf5U9qGZw4xoS5PxLDadHsC0AA'></script> -->
|
||||
<script src='http://maps.google.com/maps?file=api&v=2&key=AIzaSyBbz_Bjqtf5U9qGZw4xoS5PxLDadHsC0AA'></script>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user