Home Editable area USA map

Countries Highlighter

In this document we'll give you an idea about our engine and how to make it fully customized and how can you make the best of the engine:

The package demo includes:

USAEngine.swf:
This is the main engine which will be added in your web page, this engine calls the other swf files and get the data from xml files while loading.

Popup.fla:
This file is used to display your data in a pop-up window, you can change the data in ItemsInfo.xml to be filled in the right place, you can customize the popup file as you like, in this file the textboxes have a serial names to be mapped with the data in the xml file, for example:

Text Box Name
XML Item
1 Name
2 Population
3 Elevation
4 Land_area

If you want to add more items all you have to do is add you item in the xml file and add new box and the fla file with name 5... and so on.

FirstIcon.swf
Icon No.1 to be added in the map, change the value of the icon in ItemsInfo.xml file in node <icon>

SecondIcon.swf
Icon No.2 to be added in the map, change the value of the icon in ItemsInfo.xml file in node <icon>

StateInfo.xml
This file includes data about stats and counties, it includes:
<StateID> The item serial
<StateN> Item Name
<StateXL> Item x coordinate
<StateYL> Item y coordinate
<StateScale> Item Scale
<color> Color schema number

ColorSetting.xml
This file includes data about the colors you want to use in the map.
<ColorID> The Item serial
<DefaultColor> Default Color
<OverColor> hoover color

ItemsInfo.xml

This is the main file which includes the data you want to display in the map
<itemID> Item serial
<stateID> Parent name
<Xlocation> x method cooridnate
<Ylocation>
y method cooridnate
<url></url> URL for linking to a site
<icon> Icon Name
<img> Image path to be displayed in the pop-up window
<Name> Items to be displayed to the pop-up window, feel free to change the name and the content of this item and create as many as you want, but remember to mapping it with the pop-up window by creating a text box for each ite.

Click one the following to see it in action.

 

 
 
  © Copyright 2005-2006 MapsInsider. All Rights Reserved.