Maps Actions

Add Map Marker Add a marker to an offline map at a specified latitude and longitude. Give the marker a name to identify it for clearing later. If there is already a marker with the same name it will be replaced.
Add Map Route By Latitude/Logitude Tries to find a route between the two specified points on an offline map. If the start latitude and longitude are blank, then the current user location is used. If a route is found it will be shown on the map, and the On Route Found event will be fired. If no route can be found the On No Route Found event will be fired. If a route was already displayed it will be cleared. You can clear the route from the map with the Clear Map Route action.
Center Map on User Location Set an offline map to be centered on the user’s current location. The location can be defined manually (using the Set User Location action), by closest beacon, or system GPS/wifi.
Clear All Map Markers Clear all markers that may have been added to an offline map.
Clear Manual User Location on Map Clears a location set manually with the ‘Set User Location on the Map’ action, and returns the map to using automatic location (either GPS or closest beacon).
Clear Map Marker Clears a marker with the specified name from the map.
Clear Map Route Clear a route displayed on an online map, if any.
Fake Beacon Close When used with the Offline Map, this action simulates the effect of being close to a beacon, allowing you to test beacon handling on the desktop or without actually having beacons.
Set Map Center Location Center the specified offline map on a latitude and longitude. Note that if the map is zoomed out, then the resulting center location may not be the same, since the map is constrained to the available tiles. Therefore, it is a good idea to also use the ‘Set Map Level Zoom’ action first.
Set Map Zoom Level Zooms the specified Offline Map to a level you define. Lower numbers zoom out, higher numbers zoom in. Note that the offline map tiles will only support a certain range of zoom levels.
Set User Location on Map Temporarily sets a user location for the map, replacing the GPS or beacon location if present. This allows using the offline map with manual signs for location such as QR codes, and is also handy for testing by simulating different locations on the map for route testing.
Zoom Map to Fit Route After you have found a route in an Offline Map (for example, in the ‘On Route Found’ event), this action allows you to zoom the map to fit the route into a specific area on the screen, so that the user can see the whole route that they will need to travel. The area of screen is defined by a component you select, typically an invisible dummy component such as a rectangle.