* * p.mapper is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with p.mapper; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * ******************************************************************************/ /** * Initialize settings (using "initmap.php") */ $initMap = new Init_map($map, $PM_MAP_FILE, $ini, $gLanguage); $initMap->initAllParameters(); $infoWin = $_SESSION['infoWin']; $mapW = $map->width; //540; $mapH = $map->height; //430; //$_SESSION["mapwidth"] = $mapW; //$_SESSION["mapheight"] = $mapH; /** * Reference map section */ $refmap = $map->reference; $refW = $refmap->width; $refH = $refmap->height; $refImg = basename($refmap->image); /**