darshakshah1988 / gmaps4jsf

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

Improvement of Marker-Component #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Due to the fact, that during some UseCases, a huge amount of markers can be 
placed on the map.
Therefore, it would make sense to add and delete markers automatically on 
demand.

This could be realized to get the max_x, max_y, min_x, min_y coordinates of 
the current view and check, which markers have been added as tags to the 
map.
Those markers should then be placed and organized seperately.
If the view changes (e.g. panning the map), all placed markers would be 
processed, to see if the marker is still in the view and still has to be 
shown.
All other markers are then processd to check if it is required to show 
them.

A reason for that improvement would be, that this might reduce the amount 
of markers at the same time on the map. From experience I can tell you, 
that this affects the performance of the map enormously.

Original issue reported on code.google.com by bernhard...@gmail.com on 1 Apr 2009 at 4:37

GoogleCodeExporter commented 8 years ago
Further improvement:
 - Boolean: fixMapZoom

true:
zooms the map out until every marker on the map is visible in the current view.
This functionality should also center the map in the middle of the distance 
between 
the max and min longitude placed marker as well as the max and min latitude 
placed 
marker.
after that, the map should zoom automatically out, until every marker is 
visible in 
the current mapview.

Original comment by bernhard...@gmail.com on 2 Apr 2009 at 9:09

GoogleCodeExporter commented 8 years ago
Bernd, please check this:
http://code.google.com/p/gmaps4jsf/issues/detail?id=10

Original comment by Hazem.sa...@gmail.com on 5 May 2009 at 3:11

GoogleCodeExporter commented 8 years ago
Brent,

Do you know a JS way that can perform this task?

Original comment by Hazem.sa...@gmail.com on 15 Jul 2009 at 10:27

GoogleCodeExporter commented 8 years ago

Original comment by Hazem.sa...@gmail.com on 20 Aug 2009 at 11:54