You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Please provide a reproduction URL (on any jsfiddle like site)
The text was updated successfully, but these errors were encountered:
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.
Please provide a reproduction URL (on any jsfiddle like site)
The text was updated successfully, but these errors were encountered: