202121 Sep

TMS Software Blog: TMS FNC Maps v2.1: Introducing OverlayViews


In code, adding a call to AddOverlayView on an existing Marker with the text that goes in to the OverlayView as a parameter value is all that is needed. In code, setting the Latitude and Longitude coordinates will position the OverlayView at that exact location on the map. When the map is zoomed out, the size of the OverlayView image automatically adapts to keep it inside the Bounds coordinates. In code, set the OverlayView Mode to omBounds to keep it positioned and sized between the Bounds coordinates. To make sure the image fills the entire available space, its width and height must be set to 100%.

Source: Tmssoftware