Hey everyone, First of all i would like to thank Armin for the time he took to assist me on my previous question. With some work i was able to achieve what i wanted and it works great. I however have another question that goes a little further. Now that i am able to have my map zoomed in on elements specified in the url ($_GET), whose information is taken in a PostGIS database, i would like to be able to use that URL (or a slightly modified one with more arguments, it doesn't really matter) and have only the image built. Let me explain more clearly:
I want to call (note that q_field, q_value and q_layer are _GET variables i use for the feature i added) <...>/pmapper2/map.phtml?&language=en&config=pueblo&q_field=text&q_valuep&q_layer=CorridorDataBase and i would need it to return only the map image, stripped out of all features. This would be used to put in a report that only accepts image links, so i'm kind of stuck. Normally, i would build another map.phtml stripped out of everything but the image and it would work but it seems like the php is making all sorts of calls to the javascript/AJAX. I guess my question is : Is there a way with the php objects only using a specific URL (like shown above), to build and show *only* the map image? I am worrying because the code seems to be depending a lot on the different div's present on the main page. _Is it possible to isolate the php from the java/ajax and still manage to build the map?_ I don't mind if i have to make another .php file and use your objects from scratch, i'm just wondering if it's possible before i put time into this. Regards, Richard -------------- next part -------------- An HTML attachment was scrubbed... URL: http://faunalia.it/pipermail/pmapper-users/attachments/20060614/5a2e11f9/attachment.htm