

Using AJAX means that you don't load all maps you're going to use in your Drill Down Map simultaneously - you loading a map time when needed. Now, it's time to enable the drill down interactivity in our map. UsaSeries = usaMap.choropleth(usaDataSet)
Anychart bundle series#
In this sample we've decided to use Choropleth Map, as it's one of the most popular series type.

, //MadisonĪfter we have defined the data, it's time to create series.ĪnyMap provides several types of series, so at the first step you should make up your mind about which series (map) type (or types) you are going to use in your Drill Down Map. In the next sample we've set the data as array of objects. We have used data about population in those states in 2000 for this sample.Īs usual, we can define the data in array of arrays or in array of objects format. Let's create a data set for the current map of the USA and for maps of Floorida and Texas, which we're going to load later using AJAX. It is better to add the root map the same way as the AnyMap component and jQuery: To create a sample with maps being added through AJAX request, we need to do is to include some AJAX component to our Drill Down Map sample (in the same section). If you need any other An圜hart components, it's better to include, which can be found on the same page. Reference the AnyMap JavaScript file in the section of your web page.

Moving Average Convergence Divergence (MACD)įirst of all, you need the AnyMap component, which can be found on the download page.
