Following is my scenario
1: First i want to define a service offered in 3 particular areas. I want to save those areas in mongodb.(i don't know whether 1 area would be saved as one lat long value or an array of lat long )
2: i want to offer the service only to those users who exist in those areas where service has been offered.
Any suggestions for implementing this scenario and what google APIs would help me in this case?
As stated in this thread, you can restrict the user's panning to a given area using the
setLatLngBoundsForCameraTarget
method. Here's the documentation. Also from this post:Here are some related threads which might help: