title: Displaying Points And Drilldown Data in Highmaps
body: <p>I'm having a problem using Highmaps to display both heat map data as well as points on a map. Here is a example:</p>
  
  <p><a href="http://jsfiddle.net/3se9q3uq/" rel="nofollow">http://jsfiddle.net/3se9q3uq/</a></p>
  
  <p>This is the just out of the box example for a US drill down map ( <a href="http://www.highcharts.com/maps/demo/map-drilldown" rel="nofollow">http://www.highcharts.com/maps/demo/map-drilldown</a> ) but I've modified it so that if you drill down into the state of Illinois I'm attempting to add a single point (within a series) to the map.</p>
  
  <p>Below is the snippet I'm using to do this:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>chart.addSeries({
    id: 'points',
    type: 'mappoint',
    name: 'Store Data',
    color: Highcharts.getOptions().colors[8],
    data: [{
      name: 'Point 1',
      lat: 40.0633,
      lon: -88.2498
    }]
  });</code></pre>
  </div>
  </div>
  </p>
  
  <p>The result (if you open your browsers console) is an error stating:</p>
  
  <blockquote>
    <p>Highcharts error #22: www.highcharts.com/errors/22</p>
  </blockquote>
  
  <p>I've tried converting coordinate systems and instead plot X &amp; Y:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var pos = chart.fromLatLonToPoint({
     lat: json[i].latitude,
     lon: json[i].longitude
  });</code></pre>
  </div>
  </div>
  </p>
  
  <p>But that didn't work as it fails to convert the points, returning 0 for X and null for Y. I've also tried changing the map type but that doesn't work either.</p>
  
  <p>I can create a map of just points without drill down but I cannot seem to get layers of heat map like effect (colors) with drill downs that have the same effect and points. I don't see a limitation listed anywhere on their side about points and drill down / coloring segments.</p>
  
  <p>Has anyone been able to get this working before? Am I thinking of these map layers to generically and this just isn't doable?</p>