Skip to content

Instantly share code, notes, and snippets.

@boydlee
Created July 11, 2012 12:12
Show Gist options
  • Save boydlee/3089993 to your computer and use it in GitHub Desktop.
Save boydlee/3089993 to your computer and use it in GitHub Desktop.
map_stops.setLocation({
animate : true,
latitude:((parseFloat(maxLat) + parseFloat(minLat))/2 ) ,
longitude: ((parseFloat(maxLong) +parseFloat(minLong))/2 - (lgDiff - delta / 2)),
latitudeDelta:delta,
longitudeDelta:delta,
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment