[mapguide-trac] #658: Fusion: Ability to specify alternate name for
feature URL
MapGuide Open Source
trac_mapguide at osgeo.org
Fri Aug 8 12:00:47 EDT 2008
#658: Fusion: Ability to specify alternate name for feature URL
----------------------------+-----------------------------------------------
Reporter: tomfukushima | Owner:
Type: defect | Status: new
Priority: medium | Milestone:
Component: Fusion | Version: 2.0.1
Severity: minor | Keywords:
External_id: |
----------------------------+-----------------------------------------------
In the !MapGuide layer definition there is the ability to specify the URL
for a feature with the "Url" element. Sometimes the URL can be non-
descript, unwieldy, long, cryptic, or all of the previous. In the basic
layout, an anchor tag (e.g., <a
href="!http://SomeCrypticURL">Description</a>) can be put there and it
will display the descriptive text in the tool tip. For Fusion, the tooltip
stops showing up altogether.
To reproduce:
1. Load the standard Sheboygan sample package
(http://download.osgeo.org/mapguide/releases/2.0.0/samples/Sheboygan.mgp)
1. Load the package attached to this ticket; it will modify the Sheboygan
Parcels layer so that it has a URL specified using an anchor tag.
1. Open one of the flexible web layouts. The URL will have the form:
!http://localhost:8008/mapguide/fusion/templates/mapguide/slate/index.html?ApplicationDefinition=Library%3a%2f%2fSamples%2fSheboygan%2fFlexibleLayouts%2fSlate.ApplicationDefinition
1. Zoom in until the parcel layer shows up.
Float the mouse over a parcel layer and note that no tooltip shows up
anymore.
To see how the basic viewer works, try the above but open the basic
layout. The URL will have the form:
!http://localhost:8008/mapguide/mapviewerajax/?WEBLAYOUT=Library%3a%2f%2fSamples%2fSheboygan%2fLayouts%2fSheboyganPhp.WebLayout&LOCALE=en
Sorry, but I haven't investigated how the basic layout accomplishes the
above feat.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/658>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list