Closed valoricDe closed 7 years ago
In one example using the ClusterMarker if seen:
<Motion defaultStyle={defaultMotionStyle} style={motionStyle} > { ({scale}) => ( <div className={styles.marker} style={{ transform: `translate3D(0,0,0) scale(${scale}, ${scale})`, }} > <div className={styles.text} > {data} </div> </div> ) } </Motion>
Why is translate3D(0,0,0) used there? When I statically want to relative reposition the pin is translate superior to top, left, position: relative?
https://davidwalsh.name/translate3d
Thanks for the link.
In one example using the ClusterMarker if seen:
Why is translate3D(0,0,0) used there? When I statically want to relative reposition the pin is translate superior to top, left, position: relative?