01 – Map Widget quickstart guide

Introduction #

Our Map Widget allow you to show indoor maps of your buildings on your website or digital kiosk! It is a fully interactive web widget that will allow you to:

  • Show the indoor cartography of the buildings you’ve created in Situm Dashboard: floorplans, Points of Interest, etc.
  • Search and locate Points of interest, showing them in a list or filtering them by name.
  • Get route indications from different points of a building
  • Share maps via QR

Usage with iframe #

This widget can be easily integrated in your web app using the html tag <iframe/> and customizing it by its attributes. It will be needed an apikey and several of the features can be managed from the url given on the src attribute of the iframe.

In order to show this widget, just copy & paste this code into your website’s code:

<iframe
  id="map-viewer-iframe"
  style="width:100%; height:600px"
  src="https://map-viewer.situm.com">
</iframe>

This code will show you something like this:

If you don’t use email and api key parameters you will see this very embed iframe example above.

Api key #

As we do not handle users on this widget we manage the access through emails and api keys. The email must be registered at out platform Situm Dashboard and the api key can be created in our Dashboard too, just by accessing to our Map Viewer integration (https://dashboard.situm.com/map_viewer). When you visit the Map Viewer on our Dashboard you will see a toast with the full iframe and the api key already inside it.

In the picture below we show you how to get this in Situm Dashboard. First you need to click on the “Map Viewer” button placed at the end of the sidebar, then you can see the toast with a button that copies to your clipboard the iframe, already with the email and api key of the user.

Map viewer on Situm Dashbaord

This is not the only way to get a valid api key, you can check more information about it in Situm api keys documentation. You can use any type of api keys but to use this widget, nevertheless we recommend using ‘read-only’ type api keys.

To know more about other integration query params or features you can check Map Viewer specifications.

Suscríbete a nuestro boletín

INFORMACIÓN BÁSICA SOBRE PROTECCIÓN DE DATOS

Responsable del tratamiento: SITUM TECHNOLOGIES, S.L.
Contacto: Responsable del tratamiento: situm@situm.es
Responsable de protección: dpo@situm.es
Finalidad y base legal: Gestionar el envío de newsletter de SITUM sólo con consentimiento.
Legitimación: Consentimiento expreso del interesado.
Destinatarios: Los datos no serán cedidos a terceros salvo obligación legal.
Plazo de conservación: Mientras la parte interesada permanezca suscrita al newsletter (en cada newsletter enviado por Situm estará disponible un link para darse de baja).
Derechos: El interesado podrá revocar en cualquier momento su consentimiento, así como ejercitar los derechos de oposición, acceso, conservación, rectificación, limitación, supresión de datos y no ser objeto de una decisión basada únicamente en el tratamiento automatizado de datos, dirigiéndose por escrito a SITUM en las direcciones indicadas.
Información Adicional: Puede consultar la información adicional y detallada sobre Protección de Datos en nuestra política de privacidad.

Por favor, descarga tu copia aquí.

Muchas gracias por descargar nuestro whitepaper. No dudes en contactar con nosotros si quieres saber más sobre cómo nuestras soluciones pueden ayudar a tu negocio.


Cerrar ventana