PlugIns? (#2) - Notification of zoom/map location change (#127) - Message List

Notification of zoom/map location change

Hi All, I've checked the documentation and forum but cannot find an answer: how do I recieve a notification when either the zoom level or map centre point changes? I have written a c# app and have successfully derived my Form from ICallback(s) to recieve notifications, this works well. I understand that the appropriate callbacks in ICallback(s) no longer work so I tried to intercept the OnDraw?() from ILayerEditor3 - i did this by deriving my form from ILayerEditor3 and implementing its methods however, none of my implemented methods get hit when I set a breakpoint. Is this the way I should be doing it?

Any help would be greatly appreciated,

Rob

  • Message #249

    Did you set your interfaceVersion value to 3 in your Client Editors key in the registry?

    • Message #250

      Thanks for the reply - yes, all of the client editor's interfaceVersion value is set to 3. I thought those parameters only applied to dlls loaded by falconview? I have written a third party executable, I can get callbacks from ICallback but not from LayerEditor?3...

      Cheers,

      Rob

    • Message #251

      Thanks for the reply - yes, all of the client editor's interfaceVersion value is set to 3. I thought those parameters only applied to dlls loaded by falconview? I have written a third party executable, I can get callbacks from ICallback but not from LayerEditor?3...

      Cheers,

      Rob

      • Message #266

        You are correct. The only way methods on ILayerEditor3 will be called is from a plug-in overlay.

        • Message #268

          Hi George, thanks for the reply. Do you know of any way i can receive map zoom/location updates from my c# app then?

          Thanks,

          Rob

Subscriptions