That is what I tried to do.
I've tried to adapt the makeMarker function to feed the markerArray
and then pass it to
markerCluster.
I've changed the code, but with with the only result, that my sidebar
is populated (I can open the infowindows at the place whee the markers
should be), but there are
Maybe someone can help me to get that work.
Doubt it. People still can't see your code working in proper
context. Your snippet is useless, we can't tell what is in
markerArray[] at the time of use. The time has probably come to put
your problem page online for further help.
--
You received
On Dec 31 2011, 2:28 pm, geom g.m...@web.de wrote:
With this code, the markes and the sidebar is created, but there is no
clustering of the data??
Maybe someone out there can help me to fix that problem.
If you put your map online and post a link, as requested in the
posting guidelines, we
(the php-code is in the JS
integrated? which might not be correct, but it works?).
It may help your understanding if you realise that php cannot be
integrated directly into javascript. The php code is executed at your
server, then whatever may be output is sent to the browser along with
any
Thanks for your replies.
I actually have no server where I can run postgis, therefore I can't
provide you a link to the site.
The text, that ist produced via php out of the SQL-query looks like
this:
makeMarker({position: new
google.maps.LatLng(49.6522765346667,6.30856672575624),title:
This text is interpreted trough the makeMarker-Function, and it
creates the markers on the map
That's a mistake. If you want the clusterer to manage your markers
for you, don't put them on the map in your own code. Look again at
the examples