Discuss everything about iMapBuilder and interactive maps in our support forum.
Adding/Importing placemarks to interactive map using Longitude
iMapBuilder supports adding placemarks using Longitude and Latitude coordinates,
which is suitable for pinpointing city locations, displaying branch offices across
the regions, or showing an absolute location of a particular place. The software
allows you to add points manually on the grid, or import data from an Excel spreadsheet
- Select File->New in the toolbar. Click
button in template wizard, a list of maps would be presented such as World countries,
United States (Geo), and United States Mainland (Geo). Click on one of them to
open a new project.
- To add icon, you can click on the
and select Placemark under 'Points and Lines' section. A pop up window is now
- You are required to config the default type of mouse over/mouse
click event properties, this setting will apply to all the imported points. In
section 1, select the tooltips styles, set the color/width. After that, select
mouse click event properties and choose the map icons. Fill in the information
of placemark using Grid in section 2 as below:
Importing data from an Excel spreadsheet file
You can import your data from an spreadsheet unicode text file (.txt) by pressing or click button to paste the data from clipboard. You can also click button to copy the data or export the data to Excel by pressing button.
When clicking , a pop up window is displayed for you to load a data file in txt format, select a recent data file or load sample data.
Column Description Sample Placemark name The name of the placemark, a reference name shown in the item list of points and lines editing interface Washington DC Latitude The latitude coordinate of the placemark, it should be in decimal degree format. If you have Latitude in degree/minute/second format, you are required to convert into this format first.
Latitude will range from 90 to -90 where N is positive and S is negative
38.89 Longitude The longitude coordinate of the placemark, it should be in decimal degree format. If you have Longitude in degree/minute/second format, you are required to convert into this format first.
Longitude will range from -180 to 180 where W is negative and E is positive
-77.02 Icon Icon of placemark, click [Get Icon Path] in section 2 to retrieve the icon path, then paste the path in this field. Or click [Apply to all] to also fill in the icon size and angle.
If you need to add your own icon, please add this to the icon library before use.
icons/standard/dot_red.swf Icon Size Icon size in percentage, you can also click [Apply to all] in section 2 to fill in the icon and angle. Icon size ranges from 1 to 300 and it should be an integer value.
100 Icon Angle The angle of rotation of the placemark icon, you can also click [Apply to all] in section 2 to fill in the icon and size. Icon angle ranges from -180 to 180 and it should be an integer value.
30 Placemark label
The label beside the placemark, leave it blank if not necessary.
Washington DC MO-Tooltip Description The description text for the mouse over tooltip, leave it blank if infobox type is selected. The branch office is located here. MO-InfoBox Description The description text for the mouse over infobox, leave it blank if tooltip type is selected. Contact person: John Smith MO-InfoBox Image The image path for the mouseover infobox. Only local path is supported, leave it blank if not necessary. C:\Documents and Settings\image.gif MO-InfoBox Anchor The anchor position of the mouse over infobox, Value [1-9] where 1 for Top Left and 9 for Bottom Right
1 MC-Url The URL Address when mouse click the placemark, leave it blank if InfoBox type is selected http://www.imapbuilder.com MC-Url Target The target for the URL Address, For example, "_blank" for new window, "_self" for same window
Leave it blank if InfoBox type is selected
_blank MC-InfoBox Description The description text for the mouse click infobox, leave it blank if URL type is selected The branch office is located here. MC-InfoBox Image The image path for the mouse click infobox. Only local path is supported, leave it blank if URL type is selected http://www.imapbuilder.com MC-InfoBox Anchor The anchor position of the mouse click infobox, Value [1-9] where 1 for Top Left and 9 for Bottom Right
Convert lat/long coordinate to x/y coordinate
In case you may need to connect your database and generate the XML on the fly, you may need to convert the lat/long coordinate to the x/y coordinate, because our XML will only support x/y coordinate.
You may use the following formulas:
For WorldCountries Map:
X = (((180+Long)*800)/360);
Y = (((90-Lat)*400.25)/180) - 14.25;
For United States Mainland (GEO) Map:
X = (((Long-(-124.73174))/(-66.94-(-124.73174))*800));
Y = (((Lat-49.384358)/24.544701-49.384358)344));
For United States (GEO) Map:
if Long - (-187.538333) < 0 then
Long = Long + 360
else if Long - (-187.538333) > 360 then
Long = Long - 360;
X = (((Long-(-187.538333))/(-65.22111-(-187.538333))*800));
Y = (((Lat-71.352560644)/(17.884813-71.352560644)*350));