osrmroute
Productos

Widget de mapas y rutas integrable

Añade un mapa OSRMRoute con búsqueda de direcciones y rutas por script o iframe. El tema y tamaño adaptable son configurables; el uso API sigue tu plan.

Vista previa en vivo

Copiar e integrar

Usa el script o un iframe. No hace falta compilar.

Script + div
<div data-osrmroute-map
     data-key="YOUR_API_KEY"
     data-theme="dark"
     style="height:480px"></div>
<script src="https://osrmroute.com/embed.js" async></script>
Iframe sencillo
<iframe
  src="https://osrmroute.com/embed/route?key=YOUR_API_KEY&theme=dark"
  style="width:100%;height:480px;border:0;border-radius:16px"
  loading="lazy" allow="geolocation"></iframe>

Usa una clave exclusiva del widget, restríngela a tu dominio y controla su uso. Las claves del navegador son visibles para visitantes. Panel

Configuración

AtributoValoresDescripción
data-keyYOUR_API_KEYTu clave API OSRMRoute; restríngela a tu dominio.
data-themedark | lightTema de color; oscuro por defecto.
data-accent06b6d4Color de acento hex sin # para botones y línea de ruta.
data-center40.37,49.89Centro inicial del mapa en orden lat,lon.
data-profiledriving | cycling | walkingPerfil predeterminado; disponible según cobertura regional.
data-langen | az | tr | ru …Idioma de los resultados de búsqueda.
data-height480pxAltura del widget; también configurable por CSS.
data-poweredtrue | falseMostrar u ocultar la marca Powered by OSRMRoute.

Para iframe, envía las mismas opciones como parámetros de petición. ?theme=light&accent=22c55e

Comenzar integración

Crea una clave API, restríngela al dominio y añade el código.

Soporte OSRMRoute

Escriba directamente a nuestro equipo

ESTAMOS PARA AYUDAR

¿Cómo podemos ayudarle?

Envía un mensaje. Las respuestas a los tickets también se envían a tu correo verificado.

Tus chats

Tus chats aparecerán aquí.