Ticket #658 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

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

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

Change History

Changed 5 years ago by tomfukushima

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

Changed 5 years ago by tomfukushima

Changed 5 years ago by tomfukushima

  • external_id set to 1106061

Changed 5 years ago by madair

fixed in Fusion 1.1 and trunk.

Changed 5 years ago by tomfukushima

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 2.1
Note: See TracTickets for help on using tickets.