Map Lunatic
Administrator
Newbie
    
Posts: 21
Crazy about maps
|
 |
« on: April 01, 2010, 12:41:34 pm » |
|
There could be many, many reasons why your map does not work. In many cases, Plug and Play Maps will tell you why it is not working if you turn on the "error-flagging" feature.
With error-flagging on, an alert will pop up on the screen every time the page is visited or reloaded, just before the map is rendered. If there are no errors, it will tell you so, and remind you that the map will load as soon as you press OK. If there are errors, it will list them in the alert to help you understand what might be wrong with your script.
To turn error-flagging on in the Designer, use the "Error check" checkbox in the "Design Settings" section (you only see this after you have passed the name of a file to map on the first page of the Designer). The first time you check this box, you will have to also press the "Update" button to generate a new script with the error-flagging set and for that script to execute in the new map.
To turn error-flagging on "by hand" (when hand-editing a script in your HTML file, for example), add this parameter to your script: &e=1 (as you might guess, you can turn error-flagging off by either removing this parameter or using &e=0).
Once you get your map working, you'll want to turn error-flagging off so your visitors are not bothered or confused by the alert that pops up saying everything's ok.
|