Skip to content

Commit

Permalink
group.js: removing reference to createMap() and adding reference to L…
Browse files Browse the repository at this point in the history
….OSM.zoom()
  • Loading branch information
drewda committed Aug 6, 2013
1 parent 6e272db commit af1ce54
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions app/assets/javascripts/group.js
@@ -1,7 +1,11 @@
$(document).ready(function () {
var map = createMap("map", {
panZoomControl: true
});
var map = L.map("map", {
attributionControl: false,
zoomControl: false
}).addLayer(new L.OSM.Mapnik());

L.OSM.zoom()
.addTo(map);

var userMarkers = []

Expand Down

0 comments on commit af1ce54

Please sign in to comment.