The basics of data file PDF Print E-mail
Written by sonlv   
Monday, 09 March 2009 17:05
There are no translations available.

Open ammap_data.xml with text editor. All the data is held within map tag :

"map_file" attribute should point to your map file. This file should be located in the "path" folder (path variable is set in HTML file). Map file can be swf, jpg, gif or png file. Go to the ammap/maps folder and check the available maps. You can use your own maps too.

Other possible attributes of map node are:

If you don't need to use real longitudes and latitudes, do not set these attributes. However if they are important to you, you should know your map’s real longitude and latitude of top left and top bottom corners. Currently amMap supports Latitude / Longitude and Mercator projections. 

Use zoom_x, zoom_y and zoom if you want your map to be zoomed to some specific location right after the map is loaded.

To find these attributes you should set developer mode to "true", adjust the map position and zoom level, copy zoom info to clipboard and paste it to node. Your final result may look like this:

 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.
Last Updated on Monday, 09 March 2009 17:15
 
Recent Articles:
More Articles: