|Mac & Win
Creates a new map view inside the window with the given rectangle.
|Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window.
|The left coordinate in the window.
|The top coordinate in the window.
|The width of the image view in the window.
|The height of the image view in the window.
Returns map view reference number or error.
DescriptionCreates a new map view inside the window with the given rectangle.
Use MapView.Release later to destroy the image view.
If you use a register (tab controls) on the window, be aware that the image view actually is in front of the register (tab controls). So you need to check in the script which register page is current and should show what image view. Or by a trigger you turn the visibility on and off.
Image view reference numbers are starting at 78000 and counting up for each new map view.
Not supported for MacOS 32-bit.
Does not work for Web Direct.
This function checks for a license.
Created 14th January 2019, last changed 19th February 2021