MapChart with an auto-populated legend

Type tutorial

This demo shows how we can populate a custom legend on a Map chart from its Polygon series data. Code Contrary to other chart types, Legend cannot readily use data items from a Map series. The main reason being that most map series use geodata, which is parsed asynchronously, so the data items might not […]

Maps with displaced areas and dividers

Type tutorial

amCharts 5 comes with a few maps that has some of their areas (islands) deliberately displaced, so they are closer to the mainland. Maps like that usually make a much better effective use of the available screen space at the expense of displaced areas not being compatible with actual lat/long coordinates. Map list Below is […]

Using regional maps

Type tutorial

In additional to world and country maps, amCharts 5 geodata package comes with a set of specialized regional maps, such as second-level subdivisions (districts), e.g. counties. This tutorial will show how those can be used. Pre-requisites We’re assuming, you have basic knowledge of how the map chart works, about its data loading, and series. Please […]

Country-specific world maps

Type tutorial

Some countries like India, China, and some other have local regulations regarding how their borders are drawn that differ from UN-mandated or actually controlled territories. This tutorial will explain how to use country-specific maps with MapChart. Available maps The following country-specific versions of World map are currently available: Country Map files (.ts; .js; .json) Map […]