Loading a workspace with scale ranges on layers with SDK 24

Hi,
I'm using the SDK to develop a C# WPF app, and I want to load a Globl Mapper workspace on which I have some layers with scale ranges on the display options,
When I load the workspace, all the layers are correctly loaded but displayed at any zoom level, it seems like it ignores scale ranges,
They are correctly written in the .gmw file, with in the IMPORT line an argument ZOOM_DISPLAY="SCALE_RANGE,50000000,100000000"
Does anyone know how to use it properly ? Or is there an issue in the SDK by itself ?
I'm using the code in the WPFSample solution in the SDK.
Best regards,
François
Answers
-
I took a look at the code and it appears that the ZOOM_DISPLAY settings are not being obeyed when rendering with the SDK.
I will fix this and let you know when a new SDK build is available.
Thanks,
Mike
Global Mapper Guru
-
I have placed a new SDK v24.0.x installer at the location below which should obey the ZOOM_DISPLAY setting when drawing:
https://drive.google.com/file/d/1RKr08z5vY3CTgCJwUYHEhANTivBCr4uf/view?usp=share_link
Thanks,
Mike
Global Mapper Guru
-
The new SDK installer was moved to the following location on our web site:
"https://data.bluemarblegeo.com/downloads/global-mapper-sdk/GlobalMapper_SDK_24.0_379.exe"
Thanks,
Mike
Global Mapper Guru
-
We have created a 'daily build' site for the Global Mapper SDK where you can pick up all of the latest bug fixes. You can now download the SDK from the link below and it will include your fix:
'https://www.bluemarblegeo.com/products/global-mapper-sdk-daily-builds.php'
Thanks,
Mike
Global Mapper Guru
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 346 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 639 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 419 Projection Questions
- 829 Raster Data
- 1.4K Vector Data
- 6.6K Support
- 179 Announcement and News
- 923 Bug Report
- 560 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 574 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 241 How I use Global Mapper
- 108 Global Mapper Forum Website