vlemos / gmaps4jsf

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

Intelligent autoResize feature #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Even though gmaps4jsf autoresizes the map correctly if a marker lies near the 
borders of the map it is partially hidden and it's difficult to notice it. A 
common solution nto this problem is to get the most northwest and southeast 
points and add them a 10% offset so everything will be visible in the resized 
map.

Original issue reported on code.google.com by jose.noh...@gmail.com on 9 Sep 2009 at 8:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This map shows the problem:

<m:map width="500px" height="500px" autoReshape="true">
   <m:marker latitude="30.01" longitude="31.14" />
   <m:marker latitude="30.08" longitude="31.14" />
</m:map>

Original comment by jose.noh...@gmail.com on 18 Sep 2009 at 9:05

GoogleCodeExporter commented 9 years ago
Done thanks to Jose!

Original comment by Hazem.sa...@gmail.com on 18 Sep 2009 at 5:38