[mapguide-trac] #609: Layer previews not zooming to extents

MapGuide Open Source trac_mapguide at osgeo.org
Wed Jun 25 10:45:24 EDT 2008


#609: Layer previews not zooming to extents
---------------------+------------------------------------------------------
 Reporter:  andrewd  |         Owner:  ksgeograf
     Type:  defect   |        Status:  assigned 
 Priority:  low      |     Milestone:           
Component:  Maestro  |       Version:           
 Severity:  minor    |    Resolution:           
 Keywords:           |   External_id:           
---------------------+------------------------------------------------------
Comment (by andrewd):

 I'm afraid that gives me no clue. The refresh button does what it's
 supposed to for me. It shows me my coord system overrides, if any. I've
 (just now) tried looking at the previews again for 4 different layers.

 The first layer is a point layer, reading it's point data from an odbc
 source. When I push the refresh button, nothing happens. When I preview
 that layer using fusion, the page opens, and fusion just keeps working
 away - but never shows my layer. When I try it the normal viewer, it opens
 fine, but the center of the map is on 0,0, and the scale is 1:1.18 - which
 is very far off....my coords are in the millions, covering several
 kilometers.

 The next layer is of the same type. This one gives me my coord system when
 I press the refresh button. Same problem with fusion - the indicator just
 keeps going and going...but nothing happens. Using the normal viewer, I
 get the same problem as before. It opens to 0,0 @ 1:1.18...My coords are
 again in the millions.

 In both of those cases, I can zoom way out, and eventually see my points.

 The other 2 layers I just tried worked fine. Though, I did have to zoom to
 the proper scale range (those 2 layers were set not to show up until the
 map was zoomed in to a certain scale). Once I zoomed in, I saw them. It'd
 be nice if the preview would ignore that scale range...not sure if that's
 an option though. I think that Studio does the preview a little
 differently - it zooms/pans to the center of the extents, but then zooms
 in to the max limit of your scale range...that way, you see your map. In
 fact, if you try to zoom out beyond your max range, it won't let you.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/609#comment:6>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list