Returns:
Map object
All the parameters are located in the parameters.user file.
function OpenMap() { var conn = Server.CreateObject("RMIMS.IMSConnection"); conn.setConnectionURL(par_ServerUrl); conn.setGroup(par_Groupid); conn.setUserName(par_Uid); conn.setLocale(par_Lang, par_Country); conn.setCharset(""); var map = conn.loadMap(par_MapName); // set image size map.setImageSize(parseInt(par_Width), parseInt(par_Height)); // set location var location = Server.CreateObject("RMIMS.Location"); location.setString(par_Location); map.setLocation(location); // set measure units map.setMeasureUnits(parseInt(par_Units)); return map; }