Opened 16 years ago
Closed 16 years ago
#658 closed defect (fixed)
Fusion: Ability to specify alternate name for feature URL
Reported by: | tomfukushima | Owned by: | |
---|---|---|---|
Priority: | medium | Milestone: | 2.1 |
Component: | Fusion | Version: | 2.0.1 |
Severity: | minor | Keywords: | |
Cc: | External ID: | 1106061 |
Description
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:
- Load the standard Sheboygan sample package (http://download.osgeo.org/mapguide/releases/2.0.0/samples/Sheboygan.mgp)
- 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.
- 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
- 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.
Attachments (1)
Change History (5)
by , 16 years ago
Attachment: | ParcelWithTooltipDataSamples-Sheboygan-Layers.mgp added |
---|
comment:2 by , 16 years ago
External ID: | → 1106061 |
---|
comment:4 by , 16 years ago
Milestone: | → 2.1 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Modified Sheboygan parcel layer that uses an anchor tag in the URL expression