[mapguide-trac] #68: Map Viewer Gap

MapGuide Open Source trac_mapguide at osgeo.org
Wed Apr 18 11:23:15 EDT 2007


#68: Map Viewer Gap
---------------------------+------------------------------------------------
   Reporter:  jbirch       |       Owner:     
       Type:  defect       |      Status:  new
   Priority:  medium       |   Milestone:     
  Component:  AJAX Viewer  |     Version:     
   Severity:  major        |    Keywords:     
External_id:               |  
---------------------------+------------------------------------------------
 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.

  2. 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" >
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/68>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list