amMap v 2.4.0 released

I am happy to announce you amMap v 2.4.0. It has a long list of features which makes amMap even better:


Zooming to latitude and longitude is now supported
Now it’s enough to set latitude, longitude and zoom level for the movie or area, and after user will click on this object, the map will zoom-in centering the given latitude and longitude. For example:

<movie file=”target” title=”Vienna” lat=”48.2″ long=”16.3″ zoom=”500%”></movie>

You can also add lat and long attributes to the areas. Note, if you set zoom_x and zoom_y attributes, the chart will use them instead of lat and long. Check World capitals example to see this in action.


Zooming to longitude and latitude with JavaScript
A new JavaScript function:

flashMovie.setZoomLongLat(zoom_level,longitude,latitude,instant);

Allows zooming to latitude and longitude with JavaScript.


New JavaScript functions

flashMovie.zoomIn();
flashMovie.zoomOut();

Will zoom-in or zoom-out the map. You can use these functions for fixing zooming-with-mouse-wheel problem, which appears when the wmode is set to “transparent” or “opaque”.


Default colors for the movies
New settings:

<movie>
  <color></color>
  <color_hover></color_hover>
  <color_selected></color_selected>
</movie>

Allows you to set general colors for the movies. Especially comfortable when a lot of the same movies are used, like in World capitals example.


Filling unlisted areas with some color
A new setting:

<area>
  <color_unlisted></color_unlisted>
</area>

allows setting the color of the areas which are in the map file, but not listed in the data file. If you don’t set any color here, the area will keep it’s original color. This allows keeping data file smaller.


Smoothing images
A new setting, <force_smoothing> was added. If you use bitmap images as your maps, then you can set this to “true” – the quality of the image will be better (might slow down the zooming).


Disabling JavaScript functions
A new setting, <js_enabled> was added. It allows disabling all javascript-html communication. Id you set this to false, then the map won’t listen and won’t call any JavaScript functions. This will also disable the security warning message when opening the chart map your hard drive or CD.


World map updated
Some minor islands were added to the World map


Comments are closed.