[mapguide-users] DigitizePolygon

Mark Pendergraft markp at Meadgilman.com
Mon Jan 5 13:49:06 EST 2009


Is there any documentation regarding how a widget should be structured
or what functions need to be overloaded, etc?  The only thing I've found
is the Fusion Learning Materials which just states how to implement the
widget's XML in the AppDef file.  

Mark P.

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Paul
Spencer
Sent: Monday, January 05, 2009 7:43 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] DigitizePolygon

I think you have bypassed something critical in the process, but I'm  
not sure.  When the digitize functions are used, something needs to  
tell the digitized features that the extent has changed so they can  
redraw themselves.  It should happen automatically by something  
registering for an event on the map, so something about how you've  
implemented it is probably bypassing this part.  Unfortunately I  
haven't used this at all so I can't really help much with debugging.   
Perhaps Chris or Mike could comment?

Paul

On 4-Jan-09, at 6:35 PM, Mark Pendergraft wrote:

> I have some questions about this function provided in the  
> MapGuideViewerApi.js file.  I was wondering if anyone else is using  
> this function and if they have any issues with panning and or  
> zooming while the user is digitizing.  I'm calling the function from  
> a widget and panning/zooming and refreshing the map all cause it to  
> break.  I'm curious if this is an issue with my widget not telling  
> Fusion that it's active, or (the less likely of the two) if these  
> actions were overlooked when the function was designed.
> Thanks for the help
> -Mark Pendergraft
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list