[mapserver-users] Including a title on a map?
Fawcett, David
David.Fawcett at state.mn.us
Thu Sep 25 06:35:27 PDT 2008
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: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Rahkonen Jukka
Sent: Thursday, September 25, 2008 1:36 AM
To: Robert Sanson; mapserver-users at 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ä: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Robert Sanson
Lähetetty: 25. syyskuuta 2008 7:02
Vastaanottaja: mapserver-users at 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/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080925/fddafc03/attachment.htm>
More information about the MapServer-users
mailing list