<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Good morning (at least for me, you're probably trying to leave the office about now)!</div><div><br></div><div>GM2.2 doesn't directly support passing in a mapbook parameter as did the 1.X series. &nbsp;The reason for this is three-fold:</div><div>1) It wasn't a terribly popular functionality.</div><div>2) It was a gaping security hole.</div><div>3) It requires all of the subsequent services to know they need to switch mapbooks.</div><div><br></div><div>There are some options, and they all center around modifying the getMapbook function of config.php. &nbsp;Two popular solutions:</div><div>1) Parser the "referrer url" from the HTTP header and get the mapbook parameter from that.</div><div>2) Read a cookie for a login/authorization schema and select the appropriate
 mapbook.</div><div><br></div><div><br></div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><b><span style="font-weight: bold;">From:</span></b> Carl Burn &lt;burnsy@northcountrywoods.co.uk&gt;<br><b><span style="font-weight: bold;">To:</span></b> geomoose-users@lists.sourceforge.net<br><b><span style="font-weight: bold;">Sent:</span></b> Tue, February 8, 2011 9:18:01 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [Geomoose-users] URL parameters<br></font><br>
Hi All,<div><br></div><div>I am passing across a url parameter of mapbook to geomoose and it looks like it is simply being ignored, for example:</div><div><br></div><div><span><a target="_blank" href="http://www.aqua3.com:2112/geomoose2/geomoose.html?mapbook=62_1364345175.xml">http://www.aqua3.com:2112/geomoose2/geomoose.html?mapbook=62_1364345175.xml</a></span></div>
<div><br></div><div>The system simply uses the default mapbook as defined in the config.ini file and ignores the url parameter totally, I checked the documentation link for this and my call looks correct. The mapbook file is valid and works if I put it into the config.ini. I also tried not setting a mapbook in the config.ini..this results in no map even when the mapbook is specified on the url as a &nbsp;parameter.&nbsp;</div>
<div>I know its going to be an obvious one but can someone point out what I have missed please.</div><div><br></div><div>Best</div><div><br></div><div>Carl</div>
</div></div></blockquote><div style="position:fixed"></div>


</div><br>







      </body></html>