If you want to allow the title string to be passed through the URL, you can use URL Configuration changes to pass the text in. Take a look at this document (if you are using MapServer 5.x): http://trac.osgeo.org/mapserver/browser/branches/branch-5-0/mapserver/MIGRATION_GUIDE.TXT Scroll down to the section on URL configuration changes. Take a look at example 3. I am not sure if you can pass in just the text, or if you will need to pass in the feature coords and the text. Combine this with the example that Jukka pointed you to and you should be set. David.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rahkonen Jukka Sent: Thursday, September 25, 2008 1:36 AM To: Robert Sanson; mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Including a title on a map? Perhaps you could see if this copyright layer document points to right direction? http://mapserver.gis.umn.edu/docs/faq/copyright-layer -Jukka Rahkonen- ________________________________ Lähettäjä: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Puolesta Robert Sanson Lähetetty: 25. syyskuuta 2008 7:02 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: [mapserver-users] Including a title on a map? Is it possible to print a title on a map? I would like to be able to send a variable on the URL containing a string to be used as a title to embed into the returned image in a particular location. I am using Javascript to formulate a CGI request for a PDF output, using mode=map. Many thanks, Robert Sanson ------------------------------------------------------------------ The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed in this email are not necessarily those of AsureQuality. This message has been scanned for known viruses before delivery. AsureQuality supports the Unsolicited Electronic Messages Act 2007. If you do not wish to receive similar communications in future, please notify the sender of this message. ------------------------------------------------------------------ This message has been scanned for malware by SurfControl plc. www.surfcontrol.com <http://www.surfcontrol.com/>
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users