Hi Christopher, Thanks for the link. That is the closest example I could find as well. However, my JavaScript knowledge is minimal, so I can't seem to figure it out. Is there an easier way to accomplish what I want, or will I have to dig into learning JavaScript? I have seem some OpenLayers demos with an "identify" tool. Perhaps that is the way to go, with a hyperlink showing up as one of the identify results?
Anyone else have any thoughts? Darren On 5/25/07, Christopher Schmidt <[EMAIL PROTECTED]> wrote: > On Fri, May 25, 2007 at 06:28:54PM -0400, Darren Cope wrote: > > Hi all, > > > > I'm new to the OpenLayers world, but have set up a little application > > that displays exactly what I want it to. You can see it here: > > http://dmcope.freeshell.org/gis/multiple4.html > > > > I'm looking for a way to hyperlink each individual line feature (I'm > > serving them as a WMS via MapServer) to a webpage, so that a user > > could zoom in on the map, then click on a canoe trip feature in order > > to be taken to the info page for that particular trip. I have the URL > > stored as an attribute for each feature (currently shapefile format > > behind Mapserver.) What is the best way to accomplish this? > > http://openlayers.org/dev/examples/getfeatureinfo.html is probably a > good starting point: it will let you do a query to the WMS server. (This > isn't a complete solution, but it may help point you in the right > direction.) > > Cool map. > > Regards, > -- > Christopher Schmidt > MetaCarta > -- Darren Cope [EMAIL PROTECTED] http://dmcope.freeshell.org _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
