-<%= javascript_include_tag 'openlayers.js' %>
-<%= javascript_include_tag 'map.js' %>
-
<div id="changeset_list_map">
</div>
<script type="text/javascript">
- OpenLayers.Lang.setCode("<%= I18n.locale.to_s %>");
-
var highlight;
function highlightChangeset(id) {
var map = createMap("changeset_list_map", {
controls: [
new OpenLayers.Control.Navigation(),
- new OpenLayers.Control.PanZoom(),
- new OpenLayers.Control.PanZoomBar()
+ new OpenLayers.Control.Zoom(),
+ new OpenLayers.Control.SimplePanZoom()
]
});