in pm.map.js reloadMap: function(remove) { ... PM.extentSelectedFeatures = null; // insert line unset($_SESSION['JSON_Results']); ...
see also http://svn.pmapper.net/trac/wiki/DocManual#javascript http://svn.pmapper.net/trac/wiki/FaqCustomizations#CustomizationsofCSSandJavaScript armin On Mon, Oct 26, 2009 at 11:51 PM, Paul Wickman <pwick...@northstargeographics.com> wrote: > I'm working on a modification to the print routine that will print the > results of a query. It seems to be working fine so far, however... > When the Reload/Refresh Map button is clicked to unselect the queried > features, the JSON_Results session variable does not get cleared. > Therefore, the query results still show up on all subsequent printed > maps, even though from the user's perspective those results have been > unselected. > > Where would be the right place in the code to clear the JSON_Results > variable when the map is refreshed? > > > Thanks, > > Paul Wickman > North Star Geographics > pwick...@northstargeographics.com > 612.280.5850 > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users