Data structure PDF Print E-mail
Written by sonlv   
Monday, 09 March 2009 16:47
There are no translations available.

There are four types of objects: areas, movies, labels and lines.

Areas are movie clips which are already in map file. In world map areas would be the same as countries, if we take some country map, areas would be regions. Areas can contain all other objects, except other areas.

Movies are swf, jpg, gif or png files which are loaded on top of the map. Movies can contain other movies, lines or labels.

Labels are texts which are positioned on top of the map. Labels can contain other labels, movies or lines.

Lines are drawn on top of the map. Lines can not contain other objects.

One lever data sample

All the objects in the following example below are on top level - they all are visible right after the map is initialized.

 

Two levers data sample

In this example objects reside in two levels. There is one area in top level, and it contains a movie clip. This means that this movie clip will be visible only after your site visitors will click on "US" area. 

There can be any number of levels in your structure. 

According by amMap


Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Live! Facebook! Slashdot! Technorati! StumbleUpon! MySpace! Yahoo! Free Joomla PHP extensions, software, information and tutorials.
 
Recent Articles:
More Articles: