Open ivanlen opened 2 years ago
@ivanlen the property "k" was renamed to "zoom". I've just had a very similar issue and was looking if it was brought up before. It's okay that this is a breaking change, but i couldn't find any mention of it.
@zimrick Could you please update doc and mention this on changelog? https://www.react-simple-maps.io/docs/zoomable-group/
I am trying to implement an example that uses the onMove event of ZoomableGroup.
In version 3.0.0
setScaleFactor
returns undefined, while in version 2.3.0 it works.You can try this example here: try changing "2.3.0" -> "3.0.0"
https://codesandbox.io/s/react-simple-maps-do-not-change-markers-size-on-zoom-cwstb?file=/package.json