I am trying to restrict the user going beyond the specified city boundary. In leaflet I have achieved this with maxBounds
property of map object or with setMaxBounds
function by providing southwest
& northeast
points., this way it limits scrolling/zooming beyond that city boundary.
Is there any way like above to restrict scrolling/zooming of Google map in android?