[mapguide-users] Fusion javascript (phpviewersample)

Jason Birch Jason.Birch at nanaimo.ca
Wed Feb 11 13:10:59 EST 2009

Good catch Franco.

When you run into problems like this, best practice is to make sure that
they get reported to the Fusion Trac to ensure that they are fixed in
future releases.  Instructions for doing this are available here:


I have reported this issue here:


I also supplied a .patch file.  When reporting problems, it is best to
either provide step-by-step instructions and data for a developer (they
should be able to reproduce the issue with no more than 10 minutes
work), or provide a fix with the report.

If you have an SVN checkout of the source code, creating a .patch is
easy.  If you're on Linux, there are instructions all over the place for
creating patch files using "diff".  If you're on Windows, TortoiseSVN
makes creating patch files as simple as right-clicking on your modified
file, going to the TortoiseSVN submenu, and choosing "Create patch...".


-----Original Message-----
From: Franco Caloni
Sent: February-11-09 9:07 AM
To: 'MapGuide Users Mail List'
Subject: R: [mapguide-users] Fusion javascript (phpviewersample)

I'm looking at MapGuideViewerApi.js for use it's Digitize... functions
just discovered that there are errors in that file.
These 2 errors make MapGuideViewerApi.js not usable (at least for me).
If you have Visual Studio, open MapGuideViewerApi.js with it and see.
The 2 errors are at line 252 and 320.

Remove the "," char at the end of line, then .js works fine.



More information about the mapguide-users mailing list