Using RouteBoxer.. Can i check if any co-ordinate belongs to any box made by routeboxer

29 views
Skip to first unread message

Vishal Sadriya

unread,
Aug 3, 2016, 1:41:00 AM8/3/16
to Google Maps JavaScript API v3
Currently i am using routeboxer.js to get the different boxes within that route. everything works perfactly in routeboxer any i am getting 4  longitude and latitude 

boxes[i].getNorthEast().lat() + ',' + boxes[i].getNorthEast().lng()
boxes[i].getSouthWest().lat() + ',' + boxes[i].getNorthEast().lng()
boxes[i].getSouthWest().lat() + ',' + boxes[i].getSouthWest().lng()
boxes[i].getNorthEast().lat() + ',' + boxes[i].getSouthWest().lng()

i have some pre-define cities in my db.. i need to check if city come in to any box.  so for that i have to check any city's longitude and latitude belongs any box.. 

i need to check  longitude and latitude belongs any box.. 

how can i check it..??
Reply all
Reply to author
Forward
0 new messages