AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Appstudio map1/11/2024 ![]() ![]() The table can be a collection or from a data source like Excel Online. Using latitude or longitude is recommended as addresses need to be geocoded and so have a more restrictive pin limit. The table lists sets of longitudes and latitudes, or physical addresses, to display as pins. Identifies a data source ( Items) in the form of a table from which to get locations to show on the map. ![]() The latitude and longitude of the clicked point is in the ClickedLocation output property.Ĭontains code that runs when any aspect of the map is changed.Ĭontains code that runs when the user selects something on the map. ![]() Specifies the order the map is selected if the user navigates the app using the Tab key.ĭetermines the text to display when the user hovers over a visual.ĭetermines the display language of the map, if it's different from the language used in the app.Ĭontains code that runs when the map is loaded.Ĭontains code that runs when the user selects the map. Properties Advanced: CurrentLocationLongitude To place the pin at the user's current location, set this property to Location.Longitude. Sets the longitude coordinate of the current location pin that the map shows if Show current location is enabled. Properties Advanced: CurrentLocationLatitude To place the pin at the user's current location, set this property to Location.Latitude. Sets the latitude coordinate of the current location pin that the map shows if Show current location is enabled. Sets the zoom level if Use default location is enabled, from 0 to 22. Sets the longitude coordinate the map shows if Use default location is enabled. Sets the latitude coordinate the map shows if Use default location is enabled. Initializes the map at a default location. Shows information about a mapped location when the user selects it ( On click) or points to it ( On hover). Properties Advanced: BorderStyle, BorderThickness, BorderColorĭetermines whether the control allows user input ( Edit), only displays data ( View), or is disabled ( Disabled). Places the upper-left corner of the map at the screen coordinates specified in x and y.ĭetermines the size of the map using the pixel values provided in Width and Height.ĭetermines the corner radius of the map border.ĭetermines the style, width, and color of the map border. Options: Road, Night, Road shaded relief, Satellite, Satellite road labels, High contrast light, High contrast dark, Grayscale light, Grayscale dark.ĭetermines the map's transparency, from 0 (opaque) to 100 (transparent). Leave this property off to display the map in road view. The map control has six different types of properties:ĭisplays the map in satellite view. Some properties are only available on the Advanced tab. PropertiesĬhange a map's behavior and appearance using properties. When both latitude or longitude and an address is given for a single pin, the map control will prioritize using the latitude or longitude to avoid geocoding the address. You can save geocoded addresses back to your data source. We recommend not using addresses where possible. The pin limit is lower for addresses as the map needs to geocode these addresses into latitude or longitude to display them. Set the ItemLatitude property to "Latitude"Įach map control can display up to 5000 pins from latitude or longitude and 50 pins from addresses. Set the ItemLongitude property to "Longitude" To display these as labeled pins on the map: The Properties section contains additional information about these data sets and their related properties.įor example, if you had a table collection named Locations with Name, Longitude, and Latitude columns: Name ItemLatitudes, ItemLongitudes, etc for pins). The data source is set in the Items property (Items for pins, RouteWaypoints_Items for routes, Shape_Items for shapes) and the relevant columns are set in the related properties (e.g. Pins, routes, and shapes are data set properties that need to both identify a data source, which is a table from a collection or connector, and the relevant columns.
0 Comments
Read More
Leave a Reply. |