93 questions
0 votes
1 answer
25 views
GeoJSON issue with ammap: country taking the whole world
I changed the coordinates of RE and MU from the base Africa map in amMap (to make them bigger), the GeoJSON loads just fine in mapshaper.org and geojson.io, but for some reason it does not render ...
2 votes
2 answers
902 views
How to use zoomToMapObject when using lat and long for putting locations on map
I am working on amcharts map in angular. I am binding locations using on lat and long, I don't have countries id rather have location name. I want to zoom specific location using zoomToMapObject. I ...
0 votes
1 answer
106 views
AMCharts Maps v4 - colors in a heatLegend on resize?
In this question user asks how to use several colors in a heatLegend gradient. This pen provides a way to do so. However, line 108 of the pen says "this needs to be repeated e.g. on window resize, ...
0 votes
1 answer
173 views
To start using amMaps
I tried to use amMaps library to create a map. Here is my code: <body> <div id="chardiv"></div> <script src="https://www.amcharts.com/lib/4/core.js"></script> ...
1 vote
1 answer
403 views
Ammap.js 4 - set map to be half static view globe + set mapObject to be center
I'm using Ammap js version 4 to bulid static website. I want to make the map to be half globe like: When user click on specific div I want to center the globe accoring to specific lat/long coors with ...
1 vote
1 answer
876 views
Update image in amMap without losing zoom control- AmCharts v4
There is AmChart's amMap with images i.e. imageSeries. The objective is to change the clicked image or say validate the imageSeries without losing the zoom level. In dev mode, the image has been ...
1 vote
1 answer
328 views
How to plot clients geolocation on a Amcharts map (and deal with the asynchronous provision of the HTML5 geolocation)
I have a world map in my web application, powered by Amcharts4. I want to add a marker on the map, displaying the user's geolocation (using the HTML5 getCurrentPosition function. But the map is ...
0 votes
1 answer
880 views
amcharts, disable panning only when zoomed out
How can I disable panning (dragging) in AmCharts map only when it's fully zoomed out. I tried using chart.seriesContainer.draggable = false; but it completely disable the panning, but i wanna be able ...
1 vote
1 answer
694 views
Exclude countries dynamically amCharts
I want to exclude countries from map (amCharts v4 maps) dynamically. But when I push values into polygon series nothing changes. polygonSeries.exclude.push('RU');. I must redraw a map to see new ...
5 votes
2 answers
2k views
AMCharts Maps v4 - Is there a way to have more than two colors in a heatLegend?
Was thinking that it would be nice to be able to set a range of colors for a heatmap instead of just two (min and max). Like what we do for the gradient list. Something like... function ...
1 vote
1 answer
414 views
AmCharts map. Show data after loading screen
I have some amCharts(version 3) map with large amount of data(pins) in my app. I want it to load data without freezing the page. In which way can I implement this. I was trying proccessTimeout, ...
1 vote
1 answer
46 views
Connecting U.S. States with MapLines in AmMaps without specifying coordinates?
I am retrieving signals from different cities in the US at different times and want to connect all of them with lines, however, I am not getting the exact coordinates of the signals. Is this possible ...
1 vote
0 answers
440 views
AmCharts V4 (Maps) Zooming in Map creates scrollbar on both axis (IE only)
I am using AmCharts (Maps) in Version 4. When zooming in a chart I get scrollbars (for x and y -axis). Do I need to use some polyfills for IE? Here is my current code: main.html <!DOCTYPE html&...
1 vote
1 answer
567 views
Vue + Laravel + Amchart: Selected value does not zoom to the selected country on the map
I use Laravel where I have an Amcharts' map in vue and there is a html select too with countries' name. How can solve that if I select a country then it zoom to the country on the map AND if I click ...
1 vote
1 answer
488 views
amMap remove home button control
I am trying to remove all the controls from amMap. I have successfully removed the zoom controls. Is it possible to remove the home button also, I cant find it anywhere? "zoomControl": { "...