Re: [mapguide-users] RE: Show help on a specific feature when selected
Hi Neal, Here's the methodology I have used to link up hyperlinks in the legend... 1. In Maesto/Studio you need to change the legend label to: a href=http://server/virtualdir/Archaeology Meta Data.pdf target=_blankArchaeology Data/a 2. Also requires a change in the legendui.templ. Edit the Onclick function and comment out the return line (only line in there). 3. Edit the legend.aspx (around line 341) and add StrEscape( ) around the rtLayerGroup.GetLegendLabel() value Hope that helps, Jonathon From: shepwaydistrictcouncil neil.thomp...@shepway.gov.uk To: mapguide-users@lists.osgeo.org Sent: Thu, April 29, 2010 7:28:38 AM Subject: [mapguide-users] RE: Show help on a specific feature when selected That would be great, many thanks Jonathon regards Neil Neil Thompson Analyst/Programmer Systems Development Corporate Services Shepway District Council, Folkestone, Kent. Direct Tel: 01303 853340 Direct Fax: 01303 245978 E-Mail: [hidden email] Website: www.shepway.gov.uk The contents and any attachments of this e-mail message are confidential and intended only for the named addressees. If you have received it in error, please advise the sender immediately by return email and then delete it from your system. Any unauthorised distribution, or copying of this transmission, or mis-use or wrongful disclosure of information contained in it, is strictly prohibited. Shepway District Council cannot accept liability for any statements made which are clearly the sender's own and not expressly made on behalf of the council. -Original Message- From: jonnie...@pat [via OSGeo.org] [mailto:[hidden email]] Sent: 29 April 2010 15:20 To: Thompson, Neil Subject: Re: Show help on a specific feature when selected You could add hyperlinks to the legend. I have found this to be a very useful way to display Meta Data. You just need to put an anchor tag in the legend display. Note that there are two other minor changes that need to be made in the templ files I believe but I am unable to check that right now. Once I am back in the office, I can send you the changes. Regards, Jonathon From: shepwaydistrictcouncil [hidden email] To: [hidden email] Sent: Thu, April 29, 2010 3:04:44 AM Subject: [mapguide-users] Show help on a specific feature when selected Hi Is there any way I can show help information based only on what layer (s) the user has selected? I would like for example when the user clicks on my Tree Preservation Orders layer to then perhaps show help specific to that layer in the right hand pane? For example the text : Although this layer displays Tree Preservation Orders it does not necessarily mean that trees outside of the order are not protected by a different order. Please contact us for clarification on your tree before commencing work. Thanks Neil -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Show-help-on-a-specific-feature-when-selected-tp4979242p4979242.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapguide-users --- The contents and any attachments of this e-mail message are confidential and intended only for the named addressees. If you have received it in error, please advise the sender immediately by return email and then delete it from your system. Any unauthorised distribution, or copying of this transmission, or mis-use or wrongful disclosure of information contained in it, is strictly prohibited. Shepway District Council cannot accept liability for any statements made which are clearly the sender's own and not expressly made on behalf of the council. --- This message has been scanned with email filtering and virus detection software by Shepway District Council --- View this message in context: RE: Show help on a specific feature when selected Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Re: Show help on a specific feature when selected
What we do is to overwirte ChangeVisibility function of map legend. like var OrgChangeVisibility = legend.ChangeVisibility; legend.ChangeVisibility = MyChangeVisibility; function MyChangeVisibility(objectId) { //from legend tree object and objectId find node which has layer or group name informaton //call original changeVisibilty OrgChangeVisibility(objectId); } Nick -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Show-help-on-a-specific-feature-when-selected-tp4979242p4988740.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] RE: Show help on a specific feature when selected
That would be great, many thanks Jonathon regards Neil Neil Thompson Analyst/Programmer Systems Development Corporate Services Shepway District Council, Folkestone, Kent. Direct Tel: 01303 853340 Direct Fax: 01303 245978 E-Mail: neil.thomp...@shepway.gov.uk mailto:neil.thomp...@shepway.gov.uk Website: www.shepway.gov.uk http://www.shepway.gov.uk/ _ The contents and any attachments of this e-mail message are confidential and intended only for the named addressees. If you have received it in error, please advise the sender immediately by return email and then delete it from your system. Any unauthorised distribution, or copying of this transmission, or mis-use or wrongful disclosure of information contained in it, is strictly prohibited. Shepway District Council cannot accept liability for any statements made which are clearly the sender's own and not expressly made on behalf of the council. _ -Original Message- From: jonnie...@pat [via OSGeo.org] [mailto:ml-node+4980228-1775456670-224...@n2.nabble.com] Sent: 29 April 2010 15:20 To: Thompson, Neil Subject: Re: Show help on a specific feature when selected You could add hyperlinks to the legend. I have found this to be a very useful way to display Meta Data. You just need to put an anchor tag in the legend display. Note that there are two other minor changes that need to be made in the templ files I believe but I am unable to check that right now. Once I am back in the office, I can send you the changes. Regards, Jonathon _ From: shepwaydistrictcouncil [hidden email] To: [hidden email] Sent: Thu, April 29, 2010 3:04:44 AM Subject: [mapguide-users] Show help on a specific feature when selected Hi Is there any way I can show help information based only on what layer (s) the user has selected? I would like for example when the user clicks on my Tree Preservation Orders layer to then perhaps show help specific to that layer in the right hand pane? For example the text : Although this layer displays Tree Preservation Orders it does not necessarily mean that trees outside of the order are not protected by a different order. Please contact us for clarification on your tree before commencing work. Thanks Neil -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Show-help-on-a-specific-feature-when-selected-tp4979242p4979242.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapguide-users _ View message @ http://osgeo-org.1803224.n2.nabble.com/Show-help-on-a-specific-feature-when-selected-tp4979242p4980228.html To unsubscribe from Show help on a specific feature when selected, click http://osgeo-org.1803224.n2.nabble.com/subscriptions/Unsubscribe.jtp?code=bmVpbC50aG9tcHNvbkBzaGVwd2F5Lmdvdi51a3w0OTc5MjQyfC05ODY1NTk2Njk= here. --- The contents and any attachments of this e-mail message are confidential and intended only for the named addressees. If you have received it in error, please advise the sender immediately by return email and then delete it from your system. Any unauthorised distribution, or copying of this transmission, or mis-use or wrongful disclosure of information contained in it, is strictly prohibited. Shepway District Council cannot accept liability for any statements made which are clearly the sender's own and not expressly made on behalf of the council. --- This message has been scanned with email filtering and virus detection software by Shepway District Council --- -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Show-help-on-a-specific-feature-when-selected-tp4979242p4980279.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users