That API is deprecated as it is used in conjunction with the equally deprecated empty MgMap() constructor.
The original fragment of code presented is correct. - Jackie -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Uncaught-error-on-Map-Create-in-MGOS-2-2-tp4473900p4478395.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users