Class MapUtils
Utilities for working with Map APIs.
Inheritance
System.Object
MapUtils
Namespace:Mapbox.Map
Assembly:Mapbox.Map.dll
Syntax
public static class MapUtils : object
Methods
MapIdToUrl(String)
Converts a MapId to a URL.
Declaration
public static string MapIdToUrl(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The style id. |
Returns
Type | Description |
---|---|
System.String | The identifier to URL. |
NormalizeStaticStyleURL(String)
Normalizes a static style URL.
Declaration
public static string NormalizeStaticStyleURL(string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | A url, either a Mapbox URI (mapbox://{username}/{styleid}) or a full url to a map. |
Returns
Type | Description |
---|---|
System.String | The static style URL. |