Google zoom fails when geom envelope is a single point
|Reported by:||santiago_aguiar||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
django.contrib.gis.maps.google.zoom.get_width_height fails when then envelope it's a single point. Only happens in extreme cases (point or polygons in which all the points are the same).
The provided patch just returns width=0, height=0, and the zoom level is eventually returned as 18.