Skip to main content

Embed

Introduction

This section provides a step-by-step guide on how to add the DAS Embed Map Component to your website and enhance the user experience. We will cover the process of integrating the DAS Embed Map Component, including importing the script from the CDN, adding a JWT token to the component, and setting up the necessary requirements such as domain and JWKS JSON file URL.

Embed Component teaser

<html lang="en">
<head>
<title>My Portal</title>
</head>
<body>
<div style="width:600px; margin:0 auto;">
<h3>DAS Embed Map Component Integration</h3>
<das-map
id="das-map"
height="400px"
width="100%"
zoom="13"
embedfarmid="unique-farm-identifier"
farmname=""
clientid=""
address=""
lat=""
lng=""
enablesearchbar="true"
enablesavebtn="true"
jwttoken=""
>
</das-map>
</div>

<script src="https://embed.dasintel.io/v1/das_map.umd.cjs"></script>
</body>
</html>