Properties
| Property | Description |
|---|---|
| Providers | Gets the providers collection of the map element. |
| Layers | Gets the layers collection of the map element. |
| InputBehavior | Gets or sets the input behavior that will handle the user input. |
| SelectedElements | Gets a collection of the selected elements. |
| ShowMiniMap | Gets or sets a value indicating whether the mini map is visible. |
| ShowLegend | Gets or sets a value indicating whether the legend is visible. |
| ShowSearchBar | Gets or sets a value indicating whether the search bar is visible. |
| ShowNavigationBar | Gets or sets a value indicating whether the navigation bar is visible. |
| ShowScaleIndicator | Gets or sets a value indicating whether the scale indicator is visible. |
| IsUpdateSuspended | Gets a value indicating whether updates are suspended. |
Methods
| Method | Description |
|---|---|
| Pan(SizeL delta) | Pans the viewport with the specified delta. |
| Pan(long x, long y) | Pans the viewport to the specified x and y coordinates. |
| Zoom(int zoomLevel) | Zooms the viewport to the specified zoom level. |
| Zoom(int zoomLevel, bool animate) | Zooms the viewport to the specified zoom level. If animate is set to true the zoom will be animated. |
| Zoom(int zoomLevel, bool animate, Point center) | Zooms the viewport to the specified zoom level. If animate is set to true the zoom will be animated.The point in the viewport around where the zoom should be performed. |
| BeginUpdate | Suspends updates. |
| EndUpdate | Resumes updates and performs an update. |
| EndUpdate | Resumes updates and performs an update if specified by the update parameter. |
| BringIntoView | Brings the specified geo point into the center of the viewport. |
| BringIntoView | Brings the specified geo point into the center of the viewport and zooms the viewport to the specified zoom level. |
| BringIntoView | Calculates the best zoom level that will fit the specified rectangle and centers it in the viewport. |
Events
| Event | Description |
|---|---|
| SelectionChanged | Occurs when a user clicks on a visual element in the layers. |
Handling HTML Hyperlinks
External links rendered by RadMap's HTML renderer must pass both HyperlinkHelper.ValidateLinkPattern and HyperlinkHelper.ValidateLinkScheme. Default automatic navigation accepts absolute http, https, and mailto URIs. FTP, file/UNC, OneNote, and custom-protocol targets are blocked unless application code explicitly approves them.
The HTML renderer's LinkClicked event uses TheArtOfDev.HtmlRenderer.Core.Entities.HtmlLinkClickedEventArgs. Read Link to inspect the destination, set IsTrustedUrl to true only after application-specific validation, or set Handled to true to suppress or replace navigation. This is a renderer event, not an event on RadMap itself.
Unhandled external-link requests then reach HyperlinkHelper.HyperlinkClicked. The shared event provides a cross-control approval hook without requiring access to the HTML container. HTML links to #anchor destinations scroll within the rendered content instead of launching an external URI. See shared hyperlink validation for both checks and the default allowlist, and handling links across controls for a global approval example.
HTML-rendered external links that previously launched FTP URLs, UNC/file paths, OneNote links, or custom protocols are now blocked by default. Validate and explicitly approve an application destination with
IsTrustedUrl, or handle the request and setHandledtotrue. Internal#anchornavigation is unchanged.