Opened 17 years ago

Closed 17 years ago

#68 closed defect (duplicate)

Map Viewer Gap

Reported by: jbirch Owned by:
Priority: medium Milestone:
Component: AJAX Viewer Version:
Severity: major Keywords:
Cc: External ID:

Description

This problem was reported by Jackie Ng on MapGuide-Users:

I am experiencing this problem with the viewer where there is a gap between the boundary of the map and the DOM element that contains the map overlay. This problem even shows up in Studio.

The result of this is that when using the selection tool, it actually selects at (x, y + gap distance) instead of (x, y)

Resizing the viewer eliminates the gap.

Attached images should explain better what I'm talking about.

http://www.nabble.com/file/7933/gap.JPG http://www.nabble.com/file/7934/studiogap.jpg

A fix was suggested by Maciej Skórczewski

  1. try turn on properties pane.
  1. edit ajaxmappane.templ (on end of files modyfity)
 <input id="KeyTarget" 
        type="text" 
        onKeyDown="return KeyPressed(event);" 
        style="position: absolute; left: 0px; right: 0px; width: 0px; height: 0px" >

to

 <input id="KeyTarget" 
        type="hidden" 
        onKeyDown="return KeyPressed(event);" 
        style="position: absolute; left: 0px; right: 0px; width: 0px; height: 0px" >

Change History (1)

comment:1 by jbirch, 17 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #5 - Sorry.

Note: See TracTickets for help on using tickets.