Load the map manually | Documentation

At times, it is useful to load the map manually, instead of allowing the map to load itself after the page has loaded. For example, your page may contain other scripts that are manipulating the webpage at the same time the map is trying to load. This can cause conflicts, particularly if the map is in responsive mode.

To load the map manually:

  1. Edit the mapdata.js file so that main_settings.auto_load='no';. This prevents the map from loading automatically.

  2. Wait until the webpage (DOM) has loaded. This can be done with jQuery.

  3. Load the map with simplemaps_worldmap.load();

Home | License | Privacy | Releases | Testimonials | Resources | Documentation | Order Lookup | All Maps | FAQs
Formerly FlashUSAmap.com and FlashWorldMap.com
SimpleMaps.com is a product of Pareto Software, LLC. © 2010-2024.