Opened 16 years ago

Closed 16 years ago

#822 closed defect (fixed)

Custom Logo from Print Layout no longer displayed in Basic Layout.

Reported by: StevenXu Owned by: StevenXu
Priority: medium Milestone:
Component: Mapping Service Version: 2.0.1
Severity: major Keywords: Custom Logo
Cc: External ID: 1121267

Description

1) Upload the attached package that contains a basic web layout 2) Open the layout in Studio and launch the DWF Viewer URL for the browser 3) Once the layout loads click the print icon on the toolbar (far left) 4) Notice in the preview that there is no logo imposed (there should be a logo of a bird in the lower left corner)

This used to work in MG 2008. No errors are generated on the server.

Attachments (1)

Defects-1121267.mgp (71.6 KB ) - added by StevenXu 16 years ago.

Download all attachments as: .zip

Change History (3)

by StevenXu, 16 years ago

Attachment: Defects-1121267.mgp added

comment:1 by StevenXu, 16 years ago

Status: newassigned

This problem was caused by one radical changed in the function DWFRenderer::ProcessOneMarker, which only accept the type RS_MarkerType_W2D now, but the custom logo has the type RS_MarkerType_Marker. This change was occured in the revision 1906.

comment:2 by StevenXu, 16 years ago

External ID: 1121267
Resolution: fixed
Status: assignedclosed

This problem was caused by the RS_MarkerType of the custom logo. Before fix, the initialized value "RS_MarkerType_Marker" was used and it means it is a predefined SLD symbol(circle, cross, etc.). And DWFRenderer will not to read the symbol stream and render it.

My fix is to correct the type of the custom logo as "RS_MarkerType_W2D", which will enable the DWFRenderer to read the symbol stream.

Fixed in trunk with submission: https://trac.osgeo.org/mapguide/changeset/3552

Fixed in branch with submission https://trac.osgeo.org/mapguide/changeset/3553

Note: See TracTickets for help on using tickets.