darshakshah1988 / gmaps4jsf

Automatically exported from code.google.com/p/gmaps4jsf
0 stars 1 forks source link

autoReshape="true" zooms map too far #95

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. set a map to autoReshape="true"
2. mark a single location at any zoom level

What is the expected output? 
The map remains at the current zoom level and shows all markers on the 
map, or zooms out if the markets wont fit.

What do you see instead?
With a single marker the map zooms to a very low level. Depending on the 
marker location/mode no user identifiable map can be returned (ie empty 
grey area, or zoom to low error image).

Original issue reported on code.google.com by dapoo...@gmail.com on 18 Jan 2010 at 9:45

GoogleCodeExporter commented 8 years ago

Original comment by Hazem.sa...@gmail.com on 23 Jan 2010 at 12:24

GoogleCodeExporter commented 8 years ago
I've added some checks to the 1.1.4 branch so if the map has less than two 
markers it 
won't reshape at all. Otherwise it will zoom to get all them visible. I'm not 
closing 
the issue since 1.1.4 is very unstable yet.

Original comment by jose.noh...@gmail.com on 5 Jun 2010 at 10:29

GoogleCodeExporter commented 8 years ago
1.1.4 is now stablizing and it has the fix for this issue.

Original comment by Hazem.sa...@gmail.com on 30 Oct 2010 at 12:26