Garthanos / geoxml

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

GeoXML does not seem to work correctly with Clustermarker library #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download this example http://econym.org.uk/gmap/example_egeocluster.htm 
2. Swap the EGeoXML library with the GeoXML13 library
3. Slightly modify the code to reference the GeoXML object
4. Load a KML file with some Placemark included under Document and Folder 
nodes

What is the expected output? What do you see instead?
I would expect that the GeoXML would be able to work with the Clustering 
library. The GeoXML did load only one of the several Placemark present in 
the KML file

What version of the product are you using? On what operating system?
GoeXML13, 1Mar 2010 lib on Windows with Google Chrome 4.1.249

Please provide any additional information below.

Original issue reported on code.google.com by agus....@gmail.com on 1 Apr 2010 at 12:40

GoogleCodeExporter commented 9 years ago
Point in fact this is an area that GeoXml does not work much the same as 
EGeoXml.
GeoXml does have a built in Clusterer...  

Before calling parse
set a value like 
geoxml.overlayman.SetMaxVisibleMarkers(300);
geoxml.overlayman.SetIcon(MyIcon);
geoxml.overlayman.SetMinMarkersPerCluster(5);

In general if you override AddMarker you have to add the marker that is past to 
it and to the 
map yourself...  not sure why it makes sense that the markers are stored if 
AddMarker is 
overridden(even if it works in EGeoXml but then I havent looked at EGeoXml in 
awhile).

The code which does the clustering (isnt very fast at times you might test it) 
is unfortunately 
rather ties to what does the sidebar and what throws the parsed event ... 

Original comment by lanceala...@gmail.com on 2 Apr 2010 at 2:00

GoogleCodeExporter commented 9 years ago
Thanks for your answer!

Original comment by agus....@gmail.com on 2 Apr 2010 at 7:42

GoogleCodeExporter commented 9 years ago

Original comment by lanceala...@gmail.com on 4 Aug 2010 at 5:58