Skip to content

Instantly share code, notes, and snippets.

@dpsk
Created April 26, 2011 16:09
Show Gist options
  • Save dpsk/942552 to your computer and use it in GitHub Desktop.
Save dpsk/942552 to your computer and use it in GitHub Desktop.
var center = #{Geocoder.coordinates(request.location.country + ',' + request.location.city)}
console.log(center)
#production mode on local machine
var center = [50.45, 30.5233333]
#on heroku
var center = 50.4530.5233333
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment