Advertisement
Guest User

Untitled

a guest
Aug 28th, 2014
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.          var moscowBound = [[55.908049, 37.340014],[55.592713, 37.890703]];
  2.          new google.maps.LatLngBounds(
  3.          new google.maps.LatLng(moscowBound[0][0], moscowBound[0][1]),
  4.          new google.maps.LatLng(moscowBound[1][0], moscowBound[1][1])
  5.          ).contains(new google.maps.LatLng( 55.740173, 37.552777 ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement