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:

  1. Load the standard Sheboygan sample package (http://download.osgeo.org/mapguide/releases/2.0.0/samples/Sheboygan.mgp)
  2. 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.
  3. 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
  4. 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)

ParcelWithTooltipDataSamples-Sheboygan-Layers.mgp (2.6 KB ) - added by tomfukushima 16 years ago.
Modified Sheboygan parcel layer that uses an anchor tag in the URL expression

Download all attachments as: .zip

Change History (5)

by tomfukushima, 16 years ago

Modified Sheboygan parcel layer that uses an anchor tag in the URL expression

comment:2 by tomfukushima, 16 years ago

External ID: 1106061

comment:3 by madair, 16 years ago

fixed in Fusion 1.1 and trunk.

comment:4 by tomfukushima, 16 years ago

Milestone: 2.1
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.