[mapguide-users] Zooming to extent of multiple selections

Jo Cook j.cook at oxfordarch.co.uk
Tue Dec 22 13:57:46 EST 2009


Hi Jason,

Yes- but all it was telling me was that the argument was null. No clue as to
which argument though! Is there another level of detail you can get out of
the error handling, like a more verbose message?

Thanks

Jo

Jason Birch wrote:
> 
> If it's any comfort, I had no clue from the look I took :)
> 
> Are you using try/catch exception handling? It can make it easier to
> figure out what's going on sometimes.
> 
> Jason
> 
> On 2009-12-22, Jo Cook <j.cook at oxfordarch.co.uk> wrote:
>>
>> Answered my own question :-)
>>
>> For information, and future people having a similar problem, the issue
>> was
>> not with the code but with the fact that the layer came from an odbc data
>> source, so consequently had no geometry or extents. I figured that out
>> using
>> the web tier tests. Once I realised that (which was no doubt obvious to
>> most
>> people) I could extract the values for the coordinates from the table and
>> use that to construct an envelope for zooming to.
>>
>> Jo
>>
> 
> 
> 

-- 
View this message in context: http://n2.nabble.com/Zooming-to-extent-of-multiple-selections-tp4199009p4205116.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list