Archive for the ‘amMap’ Category

Passing data and settings directly from HTML

Wednesday, October 24th, 2007

Since v 2.1.0 you can pass data and settings directly from HTML file. Open ammap.html file in the main folder of downloaded package and view the source of it. You will notice several commented lines there.

This line is can be used for passing data directly to HTML:

so.addVariable(”map_data”, escape(’<map ……>……</map>’));

instead of <map ……>……</map> you have to place xml formatted map data in one line.

The same is with settings:

so.addVariable(”map_settings”, escape(’<settings>….</settings>’);

There is one more variable - “additional_map_settings“. You can use it for appending some map settings. This is useful, if you have several maps with similar settings, and you have one file for all of them, but let’s say you want to make some small differences. You can use this variable for that:

so.addVariable(”additional_map_settings”, escape(’<settings>…</settings>’);

In v 2.1.0 you can also have multiple settings files. To use several settings files, separate them with commas:

so.addVariable(”settings_file”, escape(”ammap/ammap_settings.xml,ammap/ammap_settings2.xml”));

Download ammap

Selected area’s color

Tuesday, October 9th, 2007

Since v 2.0.13 you can set selected areas color:

for all areas in settings file:

<area>
   …
   <color_selected>#0000CC</color_selected>

for one area in data file:

<area color_selected=”#00CC00″ …..>

Disable area’s behaviors when clicked on the area

Tuesday, October 9th, 2007

I noticed that in some situations you might want to disable rollover the area effect, balloon and click when you select this area. For example, you click on some country, map is zoomed to it, and then you show some inside movie clips. In this case it would be better if only those movie clips would be clickable, and the area would not. Now you can easily do this by setting:

<area>
   …
   <disable_when_clicked>true</disable_when_clicked>

This can be done since 2.0.13

Download amMap

Enabling behaviors of loaded swf files

Tuesday, October 2nd, 2007

Some people reported me a bug - loaded swf files are not active, all behaviors are disabled. This happened because I applied roll-over an click events for all loaded movies.

In v 2.0.12 I fixed this problem. Of course, the movies original behaviors will work only if this movie is “not clickable” and doesn’t have a balloon to display.

“Not clickable” means that this movie doesn’t have description, url and zoom level set. And the balloon must be disabled by setting balloon=”false” attribute for this point.

Download ammap.

Important update

Monday, July 23rd, 2007

In amMap version 2.0.5 I added a more detailed world map. Greenland is not cut at the top.

AmMap can be calibrated with Mercator projection maps (the default world map uses this projection). The main amMap example now is calibrated - you can use real longitudes and latitudes.

Download amMap

United States map added

Friday, July 13th, 2007

Check the example

Japanese prefectures map added

Thursday, July 12th, 2007

I know I have a lot of visitors from Japan today (thanks to Gigazine). That’s why I added Japanese prefectures map to the package.

Sayonara,

Antanas

AmMap 2.0 released!

Wednesday, July 11th, 2007

I am happy to announce that a new version of amMap has been released. This new version, compared to the old one, is a completely new application. In v 2.0 a lot of new features and customization possibilities are introduced.

I invite you to visit the redesigned site at www.ammap.com  to see some examples, and download a free version of amMap 2.

And this is not the end - amMap will be developed further. You can register at amMap forums at www.ammap.com/forum and suggest features or ask for help.

Until the end of July you can purchase commercial version of amMap with 15% discount.

Best regards,

Antanas Marcelionis
http://www.amcharts.com
http://www.ammap.com