Вот что у меня есть на данный момент:
Код: Выделить всё
var lat = somelat;
var lng = somelng;
if (bounds.southWest.lat < lat && lat < bounds.northEast.lat && bounds.southWest.lng < lng && lng < bounds.northEast.lng) {
'lat and lng in bounds
}
Подробнее здесь: https://stackoverflow.com/questions/109 ... -in-bounds
Мобильная версия