[mapguide-users] Re: Replicate properties pane functionality in my own custom pane

Jackie Ng jumpinjackie at gmail.com
Wed Oct 26 04:20:27 EDT 2011


In ajaxmappane.templ there is a GetPropertyCtrl() function. Assuming proper
encapsulation of the code (ie. All js access to get the property control
should've been done via this GetPropertyCtrl() function), then you could
sneakily replace the propertyCtrl variable that this function returns with
your own DOM frame/iframe element that is your custom property pane.

Then in your custom property pane, you would need to provide the same public
javascript API that the built-in property control provides. Look at
propertyctrl.templ to see what public functions are exposed.

- Jackie

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Replicate-properties-pane-functionality-in-my-own-custom-pane-tp6925596p6931924.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list