problem about markerclusterer-Collection of common programming errors


  • user1871407
    javascript google maps markerclusterer
    I am trying to implement MarkerClusterer V3 in my google maps but can’t make it working :(. Google maps code below : <!DOCTYPE html> <html><head> <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″> <meta name=”viewport” content=”initial-scale=1.0, user-scalable=no” /> <title>????by??????</title> <link rel=”stylesheet” href=”styletenki.css” /><!–[if lte IE 9]><link rel=”stylesheet” href=”styleie.css” /><![endif]–>

  • user2130449
    leaflet geojson markerclusterer
    I’ve been searching for hours and hours now, and i’m still stuck. I have a feeling it is something easy/stupid i’m missing.I am using the example of markercluster from GitHub. I have 2 different markers (simply 2 different colors) that i would like to show which i would defined in the json format. I have followed guide from leaflet site to define different markers. I added my variable to the json part, but i can not figure out how to make the map load the different markers. It’s either giving me

  • clifgray
    javascript google-maps google-maps-api-3 markerclusterer
    I have the following code to try to get the MarkerClusterer library to work for my Google Map but for some reason it doesn’t change anything. I have some jinja2 in there for the loop but that is all working properly. Can you see any errors?<meta name=”viewport” content=”initial-scale=1.0, user-scalable=no” /><style type=”text/css”>html { height: 100% }body { height: 100%; margin: 0; padding: 0 }#map_canvas { height: 100% }</style><script type=”text/javascript” src=”http://

  • user2367645
    google-maps caching markerclusterer
    I have a website built from Google Maps and using MarkerClusterer. This site works fine most of the time, but there will be times when multiple users will be online and a filtered marker sets request will be returned incorrectly.Example: I filter to a set of markers based on a set of filter parameters. As this is processing someone else also filters to a different set of markers and those markers are returned to me instead of my request.I can also see this issue occur if I sit on the page and

  • ben f.
    asp.net google-maps google-maps-api-3 markerclusterer
    I have a public-facing site using GoogleMaps API v3 and the MarkerClusterer library. The page that is having a problem can be found here (http://www.mihomes.com/Find-Your-New-Home/San-Antonio-Homes). If you view this page in IE9 or Chrome, the correct pin icon images are shown, while in previous IE versions and Firefox different (and incorrect) pin icons.IE9Firefox 3.6.8Here is the JavaScript code that generates the pins/clustering:$(function() {var dl_grid = new DLGrid(“.GMapGrid”);dl_grid.in

  • Axel Isouard
    javascript google-maps google-maps-api-3 google-maps-markers markerclusterer
    Trying to run markerclusterer within an if statement dependant on the map zoom level (end goal is to run a more specific version at low levels).I have the map rendering out at a certain zoom level and the clusterer working fine, however it seems when I continue to zoom the markers are duplicated building on top of each other.I am trying to clear the markers and rebuild on each zoom as a work around, but im not sure of where to place resetViewport() to do this? I keep getting an undefined error f

  • user772401
    javascript json google-maps google-maps-api-3 markerclusterer
    I copied everything from the Google marker clusterer example here and just changed the data for the points I want to use and the markers won’t show up on my mapp.. any idea why (code below)?Chrome is giving me one warning”resource interpreted as Script but transferred with MIME …etc, etc… “…data.json”However, I printed the data using the document.write(data[i].lat) and such and everything prints fine…<!DOCTYPE> <html><head><meta http-equiv=”content-type” content=”tex

  • user198003
    google-maps-api-3 markerclusterer
    to create map clusterer, i use:markerClustererGPC = new MarkerClusterer(myMap.map, markersGPC, GPCOptions);but sometimes it does not works, and markerClustererGPC is sometimes undefined.i search on this problem, and realise that (it looks like) server is sometimes too fast, and cluster is not defined due to that.if server is a bit older (slower), it works without problems.am i right about this? what can i do to avoid this problem, to make my code proper to work on any server?

  • Tom Duke
    google-maps google-maps-api-3 markerclusterer
    I’m using code found here: Integrating Spiderfier JS into markerClusterer V3 to explode multi-markers with exact same long / lat to restrict zoom levels when clicking on MarkerClusterer created clusters containing points at the same location.Live example is here: http://www.adultlearnersfestival.com/newsite/yourarea/map.htmlI’m getting an error in Firebug however:Error: TypeError: markers is undefined and can’t work out what’s causing it. The specific code is:var minClusterZoom = 14; mc.setMaxZ

  • Smickie
    jquery ajax maps google-maps-api-3 markerclusterer
    This is driving me mental.I’m using MarkerCluster with google maps v3, and it works fine in FF, however when I (and the client) kick it up in Chrome or Safari the clusters arn’t there.No errors, just not working in webkit.A few notes: it’s coming from some ajax-loaded json and it’s in jquery.This is the function taking care of the adding:add_clusters: function() {markers = [];$.each( interpreters, function ( i, interpreter ){//maps.add_postcode_marker(i, ‘interpreter’);var latLng = new google.ma

  • superscral
    google-maps-api-3 google-maps-markers markerclusterer
    I have an issue with my MarkerClusterer.When i was 400 markers, cluster appears, all worked. But now i have moire than 600 markers and cluster don’t appear.Firebug display this error:that.map_.mapTypes[that.map_.getMapTypeId()] is undefined markerclusterer.js:304Have you an idea?Thanks

  • Grant Collins
    javascript google-maps-api-3 markerclusterer
    I’m struggling trying to cluster 50 markers using the markerclusterer v3 with Google maps API v3.I’ve followed the simple example found at: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/docs/examples.html to build my function however when the map is loaded I am getting the following error in firebug:a is undefined Ba(H,function(a){if(!a)return l;return…){return new P(this.T.d,this.P.b,i)}; main.js (line 13)My function is just doing a simple json call to get the

  • dswong
    javascript google-maps-api-3 markerclusterer
    I followed the library and youtube guide to add marker clusterer to my map but I got the problem.MarkerClusterer undefinedI have defined MarkerClusterer as show in the guide, but still got the above error. below is my code <!DOCTYPE html> <html lang=”fr” xmlns=”http://www.w3.org/1999/xhtml” xmlns:v=”urn:schemasmicrosoft- com:vml”> <head> <meta name=”viewport” content=”initial-scale=1.0, user-scalable=no”/> <meta charset=”UTF-8″ /> <title>Ma Page de Google Map

  • krocheah
    google-maps-api-3 markerclusterer
    i user markerclustererplus and i want to show info window on cluster click. but i get undefined for all marker in a cluster. i just can’t figure it out why and what can be happened. here is my code <!DOCTYPE html><head><meta name=”viewport” content=”initial-scale=1.0, user-scalable=no” /><meta http-equiv=”content-type” content=”text/html; charset=UTF-8″/><title>PHP/MySQL & Google Maps Example</title><style type=”text/css”>html, body, #map { margin:

Web site is in building