maptalks.js
maptalks.js copied to clipboard
Please add a option to control the behavior of the map moving out of boundaries
maptalks's version and what browser you use? 1.0.0-rc.33 Egde/122.0.2365.92
Issue description I'm using "identity" maps to create the game map, and I've set "maxExtent" to limit the boundaries of the map. However, when I move out of the boundaries, it still reveals parts of the map that are outside the boundaries. I would like to disable movement out of the boundaries, not the rebound that is shown now. In fact, in the leaflet map, they use a parameter "maxBoundsViscosity" to control the behavior of moving out of boundaries, I think this can be used as a reference.