Questions tagged [ammap]

amMap is a robust interactive Javascript/HTML5 maps library.

amMap or JavaScript Maps is a robust interactive JavaScript/HTML5 maps library. The package includes libraries that allow easy addition of interactive maps to you websites and applications. The features include:

  • Drill-downs
  • Grouped countries
  • Interactive flight routes
  • Heat maps
  • Multi-level nested objects
  • Placing markers using real coordinates
92 questions
7
votes
1 answer

AmCharts - AmMap with custom map shows upside down

i have followed the tutorials on the AmCharts to create a custom map, but used SVG's from our previous system (the UK one is an example, but i have around 2000 custom SVG's defining regions/territories/district collection). While the map displays…
Rafael Herscovici
  • 16,558
  • 19
  • 65
  • 93
6
votes
2 answers

Latitude/Longitude coordinates are not correct in amMap USA map

I am building a map using the usaLow.js map. On map init, I call a json method that returns this data: [{latitude: "40.4258686",longitude: "-86.9080655"}] With this data I add to the map's data provider (mapData) with this: mapData.images =…
Anthony Veach
  • 320
  • 2
  • 10
6
votes
1 answer

How to remove Ammap map control overlay?

How can I remove the controls for panning and zooming when displaying my AmMap? Is there a field I can change when creating my map object or do I have to manually alter the library code?
TheoretiCAL
  • 19,461
  • 8
  • 43
  • 65
6
votes
3 answers

AmMap - keeping the same zoom level and position after updating map data

I am updating the map areas of an AmMap map, but the zoom level and position is reset whenever I do. My function which is updating the map is: function setData(data) { var parsedData = JSON.parse(data); map.dataProvider.areas =…
combatdave
  • 765
  • 7
  • 17
5
votes
2 answers

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 am4themes_myHeatmap(target) { if (target instanceof…
Wes Noel
  • 51
  • 3
4
votes
1 answer

Transition an Ember.js application from JavaScript

How can I transition an Ember.js application from within a JavaScript function that is not part of a Route or Controller? Can I call something like route.transitionTo() or controller.transitionToRoute() using the Ember.Application instance…
imgx64
  • 4,062
  • 5
  • 28
  • 44
3
votes
1 answer

Using React to create Maps with AmMaps

I am using ReactJs to create USA Map with AmCharts library. What I want exactly is this: https://www.amcharts.com/demos/us-heat-map/. When you check it's code on fiddle, you will note they have used a separate library for the US map in the script…
VInay Singh
  • 85
  • 1
  • 1
  • 6
3
votes
1 answer

How to use ammaps of amcharts in angular 2?

I am trying to use ammaps inside a angular 2 application. Looking at the code It's pretty obvious that my component is not aware of the library. this is what my files looks like: map.component.html