APIs for interactively drawing on map?
From reading the documentation and previous posts, I think I already know the answer to this, but just wanted to double check:
Are there any APIs in the GlobalMapper SDK that would expose functionality for interactive graphical drawing on the map (like the ones in the "Digitizer" toolbar of the GM desktop app)?
Specifically, we are interested in being able to draw piecewise linear features on the map using mouse/keyboard input, labeling line segments and waypoints, interactively moving vertices, and having copy/paste/undo/redo.
It looks like this type of functionality is beyond the scope of the current GM SDK, even though extensive capability is present in the desktop application?
Finally (assuming I haven't missed something), I am wondering if other developers have found it straightforward to integrate any 3rd-party interactive drawing libraries using GlobalMapper as a "synchronized" underlay to the drawing area's canvas?
Thanks
Are there any APIs in the GlobalMapper SDK that would expose functionality for interactive graphical drawing on the map (like the ones in the "Digitizer" toolbar of the GM desktop app)?
Specifically, we are interested in being able to draw piecewise linear features on the map using mouse/keyboard input, labeling line segments and waypoints, interactively moving vertices, and having copy/paste/undo/redo.
It looks like this type of functionality is beyond the scope of the current GM SDK, even though extensive capability is present in the desktop application?
Finally (assuming I haven't missed something), I am wondering if other developers have found it straightforward to integrate any 3rd-party interactive drawing libraries using GlobalMapper as a "synchronized" underlay to the drawing area's canvas?
Thanks
Comments
-
The Global Mapper SDK only provides the low-level mapping technology needed to develop a mapping application, but doesn't provide a user interface for doing what you describe. It would be up to the user of the SDK to provide the desired user experience for their application.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
All of those things you wish to do are certainly feasible with the SDK. With the exception of the undo/redo, I have implemented them in an application I am building using it. For undo/redo I have mimicked Global Mapper and allowed rendering and restoring deleted features.
I have not integrated any third party drawing libraries and don't have the need for my application.
David
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website