title: Stack map pointers/icons in Mapquest Map
body: <p>I am using the mapquest API with the open source data.</p>
  
  <p>My icons are scattered all around the world, but some are close together, i.e several in London.</p>
  
  <p>Is there a way to show that there is more than one marker at a location? At present they are disappearing until you zoom in closer, but there is nothing to indicate that there is a reason to zoom!</p>
  
  <p>Any ideas appreciated,
  Thanks
  Dave</p>
  
  <p>UPDATE: I'm unable to answer my own question due to not having any reputation, so here is the answer which I finally found in the manual:</p>
  
  <p>The technique I was looking for is called POI Decluttering:
  <a href="http://developer.mapquest.com/web/documentation/sdk/javascript/v7.0/poi#declutter" rel="nofollow">http://developer.mapquest.com/web/documentation/sdk/javascript/v7.0/poi#declutter</a></p>
  
  <p>It's not particularly pretty, but it does solve the problem.</p>
  
  <p>Copied here for reference:</p>
  
  <pre><code>/*Construct the POIs and set automatic decluttering for each.*/
  var declutter1=new MQA.Poi( {lat:39.743943, lng:-105.020089} );
  declutter1.setDeclutterMode(true);
  
  var declutter2=new MQA.Poi( {lat:39.743943, lng:-105.020089} );
  declutter2.setDeclutterMode(true);
  
  var declutter3=new MQA.Poi( {lat:39.753012, lng:-105.018542} );
  declutter3.setDeclutterMode(true);
  
  /*This will add the POIs to the map in the map's default shape collection.*/
  map.addShape(declutter1);
  map.addShape(declutter2);
  map.addShape(declutter3);
  </code></pre>