yugalatea / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

Integration of MarkerManager #231

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release: 1.0.1

Detailed description:
When working with large amounts of markers (100+) the map begins to react
slowly and working with it starts to be a pain in the a**. 

The "official" MarkerManager has been remove a while ago, see issue 117 below:
http://code.google.com/p/gwt-google-apis/issues/detail?id=117

The open source MarkerManager from
http://code.google.com/p/gmaps-utility-library/ is a nice replacement, but
it hasn't been integrated yet. Sumit Chandel stated that there are no plans
to do so in reply to another post to the GWT forums:
http://groups.google.com/group/Google-Web-Toolkit/msg/07f2539bfecc64bc

Workaround if you have one:
As described in
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/84a784560
56ff61c/07f2539bfecc64bc?#07f2539bfecc64bc
:

I used the code from the old MarkerManager (gwt-google-apis, svn r302)
to wrap the new MarkerManager (gmaps-utity-library) by changing the
constructor in MarkerManagerImpl.java from $wnd.GMarkerManager to
$wnd.MarkerManager.
Don't forget to add a script tag referencing the markermanager.js from
gmaps-utility-library to your *.gwt.xml file!

It works just fine in web mode when using the basic functions, but i
have problems starting my application in hosted mode. 

Links to the relevant GWT Developer Forum posts:
http://code.google.com/p/gwt-google-apis/issues/detail?id=117
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/84a784560
56ff61c/07f2539bfecc64bc

Original issue reported on code.google.com by lajue...@gmail.com on 12 Jan 2009 at 8:31

GoogleCodeExporter commented 9 years ago

Original comment by galgwt.reviews@gmail.com on 12 Jan 2009 at 1:27

GoogleCodeExporter commented 9 years ago
gwt-maps-utility at http://code.google.com/p/gwt-maps-utility/downloads/list is 
nice
replacement for web mode but I cannot figure out how to make it work at 
development mode.

Original comment by quande....@gmail.com on 9 May 2010 at 1:55

GoogleCodeExporter commented 9 years ago
Bobby Soares has created GWT bindings for some parts of gwt-maps-utility:

http://code.google.com/p/gwt-maps-utility

Original comment by zundel@google.com on 14 May 2010 at 11:23

GoogleCodeExporter commented 9 years ago
Added FAQ entry: http://code.google.com/p/gwt-google-apis/wiki/MapsFAQ?
ts=1273836569&updated=MapsFAQ#I_want_to_use_Marker_Manager.__Why_isn't_it_implem
ented?

Original comment by zundel@google.com on 14 May 2010 at 11:30