Hi sir, I'm drawing a polygon in the googlemap and I've save it in my db. Is there way to do zoom in and recenter everytime after I load the polygon coordinates from my db? Is there a way to autozoom or autocenter? Or I have to get the zoom value and center coordinates to save into my db too and load it everytime?
Use zoom and center props instead of defaultZoom or defaultCenter
hi @tomchentw
How can I use getZoom() with defaultZoom. and set dynamic value place of a static number.
Most helpful comment
Use
zoomandcenterprops instead ofdefaultZoomordefaultCenter