here is the link http://yumu.ru
On 11 июн, 01:47, "[email protected]" <[email protected]> wrote: > I have a code that initializes the whole map + markers: > > ////////////////////////////////// this is markers data > [lat,longi,'title text',icon number] /////////// > var points_H = [ > [31,54,'some text',1], > [31,55,'some text',1], > [31,56,'some text',1], > [31,57,'some text',1], > [0,0,'ground zero',1] > ] ; > ///////////////////////////////////////////////////////////////////////////-/////////////////////////////////////////////// > > function initialize() { > if(GBrowserIsCompatible()) { > var map = new GMap2(document.getElementById('map')); > map.setCenter(new google.maps.LatLng(55.7529, 37.6219), 11); > map.addControl(new GLargeMapControl()); > map.enableScrollWheelZoom(); > var mapControl = new GMapTypeControl(); > map.addControl(mapControl); > /////make a new map done//// > ///////////////////////////////////////// > > /////////Lets start and add some markers/////// > /////////////////////////////////////////////// > > var markers = []; > var icon = new GIcon(G_DEFAULT_ICON); > icon.image = "1.png"; > > for (var i = 0; i < points_H.length; ++i) { > var latlng = new GLatLng(points_H[i][0], points_H[i][1]); > var marker = new GMarker(latlng, {icon: icon}); > var htmlinfo = 'hello there'; > > ///////////////////////////// this part doesnt work : > ( /////////////// > ///////////////////////////////////////////////////////////////////////////-/////////////////////// > > GEvent.addListener(marker, "click", function() { > marker.openInfoWindowHtml(htmlinfo); > }); > > /////////////////////////////////////// > awwwwwwwww ///////////////////// > ///////////////////////////////////////////////////////////////////////////-/////////////////////// > > markers.push(marker); > } > > var markerCluster = new MarkerClusterer(map, markers); > > ////////////End /////////////////////// > /////////////////////////////////////////////// > } > > } > > so all that i get is map filled with markers, also it is prosessed > with a markerclusterer.js so there are some yellow and blue clusters, > but when i click on any marker nothing happends... > > I need something like this > maphttp://gmaps-utility-library.googlecode.com/svn/trunk/markerclusterer... > where i can click on a marker and see some info about it. What should > i do? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
