• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Autodesk MapGuide Enterprise Wishes

    Reply
    Active Member
    Posts: 7
    Registered: ‎11-08-2006

    onDoubleClick Event

    139 Views, 2 Replies
    12-18-2006 06:24 AM
    Hi, I working on MG 2007 and one of the great lost compare to MG6.5 is the onDoubleClick event on the viewer.
    Will it return?
    Please use plain text.
    Employee
    Posts: 21
    Registered: ‎11-04-2006

    Re: onDoubleClick Event

    02-23-2007 01:16 PM in reply to: dhequet
    If you update the following two files to the latest versions found here:
    http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ
    http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Web/src/viewerfiles/dwfmappane.templ

    you should have a double-click available. Use the "Original format" link at the bottom of the above web pages to get a downloadable version of the file, and remember to make a backup of the original file before overwriting it in case you need to restore the original.

    To use the double-click, the comments read:
    // Override this method in an external script to implement
    // your own double-click handler.
    // e.g. mapFrame.OnDblClick = MyOnDblClick
    // where MyOnDblClick() is a function in your script

    Tom


    Tom Fukushima
    Software Development Manager
    ICP - IPG
    Autodesk, Inc.

    Please use plain text.
    Contributor
    Posts: 20
    Registered: ‎02-20-2007

    Re: onDoubleClick Event

    04-09-2007 11:37 PM in reply to: dhequet
    Hi tomfukushima,

    Thanks for this post Message was edited by: SCLuna
    Please use plain text.