Map View is a View that displays a map (with data obtained from the Google Maps). When focused, it will capture keypresses and touch gestures to move the map. This control helps with the accessibility of maps. It also lets you pin the location on the map. Users may explore and interact with maps by panning or zooming.
Configure.IT also lets you fetch the location of the User with the help of this control. The classes of the Maps library offer built-in downloading, rendering, and caching of Maps tiles, etc.
Sets the web service key for latitude of annotation.
Sets the web service key for longitude of annotation.
Sets the web service key for title which will be displayed in callout.
Sets the web service key for description which will be displayed in callout.
This property is for setting "Object ID" of view which has to be shown as annotation view (view that will be shown on tapping a pin on Map View) for Map View.
Used to set pin color of pin (ex:1,2,3). Specify image name to show image as pin.
Sets the level to which map will be zoomed on Load.
This property enables display of all annotations on map i.e, map will be zoomed in such a way that all pins added on map will be shown.
This property is for enabling detail disclosure button on callout which appears when pin on map is tapped.
Enables Google Map and further helps in specifying Street view.
This property specifies that street view of a location should be shown, if available. Works only if "Enable Google Map" property is enabled or "Enable Google Map" setting is enabled in "MAP" config under "Other Setting" tab and "Google Map API Key" is set in "MAP" configuration.
This property specifies whether indoor maps should be shown, if available. Works only if "Enable Google Map" property is enabled or "Enable Google Map" setting is enabled in "MAP" config under "Other Setting" tab and "Google Map API Key" is set in "MAP" configuration.
This property is for enabling drawing of traffic data on map, if available. This is subject to the availability of traffic data. Works only if "Enable Google Map" property is enabled or "Enable Google Map" setting is enabled in "MAP" config under "Other Setting" tab and "Google Map API Key" is set in "MAP" configuration.
This property is for setting color for direction paths shown on Map View control. Directions can be added using "Show Directions" action.
This property is for setting JSON file from which map data has to be taken.
The type of data displayed by the Map View.
A Boolean value indicating whether the map may display the user location.
A Boolean value that determines whether the user may use pinch gestures to zoom in and out of the map.
A Boolean value that determines whether the user may scroll around the map.
A Boolean value indicating whether the map camera’s heading information is used.
A Boolean value indicating whether the map camera’s pitch information is used.
Enables the Interaction with user, i.e. control responds when user taps on it.
Used to set the transparency to the Map View which ranges from 0 to 1.
Used to set the background color to the Map View.
Sets border width for a Map View.
Sets radius with which control's rounded corners should be drawn. Setting this property will enable control appear with rounded corners.
Sets the border color for a control. Works only if "Border Width" property is set to a value more than 0. Default would be black color.
Sets width of each dash in dashed border pattern for a control.
Helps set the spacing between Dashes for Dashed Border.
Sets angle in degrees to which control in its normal state has to be rotated. Possible values for this property are -360 to 360.
Sets the X position of the Map View.
Sets the Y position of the Map View.
Sets the width of the Map View.
Sets the height of the Map View.
Sets unique identifier for the control. Control can be referenced with the name, set in this property for configuration.
Sets "Object ID" of View which contains this control or can serve as parent.
Sets the local JSON file name from which Map View's data has to be loaded.
Sets “key name to datasource” for a particular part of datasource.
This property specifies the function that the map should perform i.e, address locator, default map that shows pins, global location search or local search.
Group of vertical android default properties.
These are the android default properties to set selected view with respect of other view.
Reference object that is used for positioning selected object
marginTop : Specifies extra space on the top side of this view. This space is outside this view's bounds.
marginBottom : Specifies extra space on the bottom side of this view. This space is outside this view's bounds.
Value define the extra space value in pixel.
This property centers the child vertically with respect to the bounds of its parent view.
If any of the vertical layout setting parameter(s) are selected then this value is selected to indicate user applied vertical custom layout setting parameter(s)
Group of horizontal android default properties.
Reference type is the the default property to set selected view with respect to other view.
Reference object that is used for positioning selected object.
marginLeft : Specifies extra space on the left side of this view. This space is outside this view's bounds.
marginRight : Specifies extra space on the right side of this view. This space is outside this view's bounds.
Offset Value defines the extra space value in the pixel.
This property centers the child horizontally with respect to the bounds of its parent view.
If any of the horizontal layout setting parameter(s) are selected then this value is selected to indicate user applied horizontal custom layout setting parameter(s).
Sets the height of the view
match_parent/fill_parent : Takes the height as its parent view
wrap_content : Takes the height as its content’s height
The height of the view cannot be less than the given value.
If user select “Default Min Height” then android default value is taken otherwise it takes 0dp.
The width of the view cannot be less than the given value.
If user select “Default Min Width” then android default value is taken otherwise it takes 0dp.
This property centers the child vertically with respect to the bounds of its parent view.
Sets the width of the view
match_parent/fill_parent : Takes the width as its parent view
wrap_content : Takes the width as its content’s width
Group of vertical android default properties.
The padding is expressed in pixels for the left, top, right and bottom parts of the view. Padding can be used to offset the content of the view by a specific amount of pixels.
For instance, a Left value of 2 will push the view's content by 2 pixels to the right of the left edge.
Group of horizontal android default properties.
For instance, a Top value of 2 will push the view's content by 2 pixels to the bottom of the top edge.
For instance, a Right value of 2 will push the view's content by 2 pixels to the left of the right edge.
If any of the layout setting parameter(s) are selected then this value is selected to indicate user applied custom layout setting parameter(s).
For instance, a Bottom value of 2 will push the view's content by 2 pixels to the top of the bottom edge.
Hiding an element can be done by checking ‘Hide’. This property lets you hide the control.
Advance - Sets auto resizing with respect to superview, for Map View.
This event is triggered on load of Map View. Hence, any actions you want to perform when Map View loads like API Call to load data to be shown on Map View can be configured in "LOAD" event listed under ”ACTION(S) tab of the Map View control.
This event is triggered when user taps detail disclosure button on Map View control call out (Detail disclosure button appears on Map View call out if you enable "Show Detail Disclosure Button On Call Out"). Hence, any actions you want to perform on detail disclosure button click can be configured in "Detail Disclosure Tapped" event listed in ”ACTION(S)” tab of Map View control.
This event is triggered when an address from Google places list is selected during global location search.(‘Map Function’ property is set to ‘Global Location Search’)
This event is triggered when user drags and drops a draggable pin on Map View control. Hence, any actions you want perform on pin drop, can be configured in “Pin Dragging Ended” event listed in ”ACTION(S)” tab of the map view control.
This event is triggered when pin on a map is tapped
This event is triggered when user taps a button on alert view, which was shown using “Show Alert” action, so any actions you want perform when alert button button is tapped can be configured in “Alert Button Click” event listed in ”ACTION(S)” tab of the control on which you have configured “Show Alert” action or Under Data source events of "Data sources" tab (if alert was shown on using “Show Alert” action configured in "Datasource Loaded" event of a data source in "Data Sources" list, you can configure actions of alert button click in "Alert Button Click" listed under data source events). “seletedButtonIndex” and "selectedButtonTitle" are the response parameters which indicate which button is tapped by user. Add condition for checking value of “seletedButtonIndex” or "selectedButtonTitle" response parameter value in order to configure actions for each button of alert view separately. You can access user input in alert view text fields using "alert_text_1" and "alert_text_2" response parameters in case of alert type is "SecureTextInput", "PlainTextInput" or "LoginAndPasswordInput"
Following are the response parameters for this event :-
1) selectedButtonIndex :- Index of the tapped button
2) selectedButtonTitle :- Title of the tapped button
3) alert_text_1 :- Text entered by user in text field one. If alert type is
"SecureTextInput", "PlainTextInput" or "LoginAndPasswordInput"
4) alert_text_2 :- Text entered by user in text field two(password). If alert type is
"LoginAndPasswordInput"
This event is triggered when user will end map scroll
This event is triggered when user taps a button on action sheet, which was presented using “Show ActionSheet” action, so any actions you want perform when action sheet button is tapped can be configured in “Action Sheet selected” event listed in ”ACTION(S)” tab of the control on which you have configured “Show ActionSheet” action. “seletedButtonIndex” is the response parameter of “Action Sheet selected” which indicates which button is tapped by user. Add condition for checking value of “seletedButtonIndex” response parameter value in order to configure actions for each button of action sheet separately.
Following are the response parameter for "Action Sheet selected" event :-
1)selectedButtonIndex :- Index of the tapped button
2)selectedButtonTitle :- Title of the tapped button
Configure.IT provides you with feature of showing a custom view designed by you to be shown as callout when user taps pin on map instead of default callout bubble. You can add this feature by adding ‘Map Annotation View’ control to Map View control and design the Map Annotation View as you desire. You can also use multiple annotation view with single map control.
This lets you make your map function work like global address search engine. All you need to do is - set ‘Map Function’ property to ‘Global Location Search’. A search bar will be added to your map (you can also add an external search bar and set its Object Parent ID property to Map View control), where user can type a location name to get list of locations matching that query and can select a location from that list. When user selects a location from search results, pin gets added on map at that particular location.
Map can be used as location reverse geocoder or location selector. You can enable this feature by setting ‘Map Function’ property to ‘Address Locator’. A pin will be added at user location initially.
User can drag that pin and drop it at desired location on map and that location details will be fetched and stored in session with following keys :-
-> search_location_lat
-> search_location_lon
-> search_postal_code
-> search_location_country
-> search_location_state
-> search_address
User current location indicator can be shown on map by enabling ‘Shows User Location’ property.