The latest release of the MobileTogether app development framework adds additional support for defining geolocation and video integration in your apps for iOS, Android, Windows, and other platforms.
Let’s take a look at how these new features enhance existing map and video tools in MobileTogether.
Geolocation Map Control
The Geolocation Map Control lets app developers display maps directly in their mobile and desktop apps. A map can show the street, satellite, or hybrid view of the defined area, and markers can be defined for points of interest. The control has viewport, height, and width properties to specify exactly how the map is displayed in your app.
In the screenshot below, the developer has defined a map with colored markers for Washington, DC and Los Angeles.
The Geolocation Map Control supports an OnGeoMarkerClicked event that lets you define what happens when a user taps or clicks a map marker.
Additional variables and extension functions have been created to support this map functionality:
- $MT_GeolocationMapMarker: dynamic variable that contains information about the marker last clicked or tapped by the user
- mt-geo-map-marker: creates a marker on a map (shown above)
- geolocations-bounding-rectangle: creates a bounding rectangle around a set of submitted geolocations
The map control adds to robust support for geolocation services in MobileTogether apps for tracking and recoding location data, integration with device map applications, calculating route distances and showing routes between two points, and more.
The Record-video Action lets users capture video directly in a MobileTogether app. MobileTogether Designer gives the developer complete control over:
- The name and location of the video file to save
- The maximum recording duration or file size
- The picture quality of the video recording
This functionality complements existing support for video playback, letting you implement complete video integration in your apps.