Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

put back some google interactivity

restore pan control
make maps draggable
commit 5d5bb9ebfb2ac527ac56560d6e964f3ecc7fe679 1 parent f2dcfd4
@wfwalker authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/locations/_google.html.erb
View
4 app/views/locations/_google.html.erb
@@ -17,12 +17,12 @@
// Create a terrain style map
var myOptions = {
mapTypeId: google.maps.MapTypeId.TERRAIN,
- draggable: false,
+ draggable: true,
scrollwheel: false,
zoomControl: true,
streetViewControl: false,
mapTypeControl: false,
- panControl: false
+ panControl: true
};
var map = new google.maps.Map(document.getElementById("map"), myOptions);
Please sign in to comment.
Something went wrong with that request. Please try again.