Editing Data
Last updated
Last updated
Each Location has several settings associated with it. If you select a Location on the Map or in the List view in the CMS, you will be presented with a modal with the following settings:
Location Type - Locations must have a Type applied, which can be set in the Location details editor. When creating a new Location, some settings are inherited from the selected Type e.g. Icon. You can always change the inherited settings to something else if necessary.
Name & Description - Type the name of your Location and a Description. Entering it in the default language is mandatory, but you can also enter it in alternative languages if set on your Solution. Provided name is going to be used as a Label. In order to modify Label presentation under the Location: - For Mapbox Map Provider: use Space to separate words in-between. Use Enter to introduce a line-breaker. - For Google Maps Map Provider: use Space to separate words in-between. Use Enter to introduce a line-breaker.
Categories - Add which, if any, Categories this Location belongs to.
External ID - You can define an External ID that a Location should use alongside its internal ID.
Search Status - Toggle whether or not this Location appears in searches.
Search Aliases - Other search terms that can be searched and still return this Location, even if it does not match the Name, Type, or Category.
Selectable - Determine if the Location is clickable on the Map or not. You can choose to inherit selectable value from Location Type.
Restrictions - Determine which, if any, App User Role Restrictions this Location should be subject to.
You can choose to inherit Restrictions that might be set on the Location's Type, or override them for this particular Location.
Active to/from - If your Location is only displayed and searchable for a given period, you can define that here.
Image Options - Here you can add an image to a Location. You can select one from the Media Library, or set a url for an image hosted elsewhere. This should be a photo, as opposed to the pictogram you use for the Icon.
This image can be used when accessing the Location data using the MapsIndoors SDKs
The Location image can be seamlessly integrated into your application as needed. Given the dynamic nature of its usage, specifying an exact size can be challenging. However, for users of our Map Template product, we offer some guidance. Within the Map Template interface for mobile-centric applications, a Location image typically occupies around 90% of the screen resolution. For instance, on an iPhone with a browser width of 414px, the Location image is displayed at a width of 382px. To ensure crispness on such devices, accounting for a device pixel density of at least 2 is crucial. Therefore, for the iPhone example, the image should ideally be at least 382x2 = 764px wide. Though there's no fixed height limit, the standard aspect ratio tends towards 4:3, indicating a projected height spanning between 573px. Furthermore, keeping file sizes minimal enhances performance and expedites loading times, a vital consideration across all platforms.
Custom Properties - MapsIndoors supports Custom Properties, defined by key-value pairs.
Read more about Custom Properties.
Venue Details - Select which Building and Floor this Location should belong to.
MapsIndoors Location ID - The internal ID of your Location.
Coordinates - The coordinates of your Location.
IndoorView is only supported for implementations using the JavaScript SDK.
To start using the IndoorView feature for your Locations, please make sure that the Google Street View panorama images are publicly available for your building by looking at Google Maps. If no imagery is available, please contact a certified Street View Photographer.
Click "Set Street View image"
This will open a Google Street View window showing the image closest to this Location. Please note that the MapsIndoors CMS looks for panorama images within a certain radius from the Location's position, so make sure to have panorama images published in that Area.
Navigate Street View and find an image and viewing angle that is suitable
Click "Set image"
Mapsindoors Support Matrix
CMS
Yes
No
Web App
Yes
No
Android App
No
No
iOS App
No
No
Web SDK
Yes, through Google Maps Street View API or Static Street View API
No
Android SDK
No
No
iOS SDK
No
No
IndoorView only supports publicly available Google Street View imagery. If you want to know more about privately hosted panorama images, please see Googles Custom Street View documentation.
Developing Your App
When developing your own app, you can still use the MapsIndoors CMS to save the Google Street View image information to a Location. When the Panorama image is set, the Location gets populated with a streetViewConfig
property. Please see below for an example.
Location Object:
The parameters above can show a static Street View image through the Street View Static API. Please see the Street View documentation for more information.
A Street View panorama image can be initialized in a <div>
the following way:
Please see the official Google Street View Service documentation for more information.