Embed map tiles in your own application
The Tiles API can be used to fetch and access map tile data from existing DroneDeploy Maps. It is primarily used to display DroneDeploy map tiles in other mapping or CAD applications. You can request 2D orthomosaic, elevation, and plant health tile layers, 3D mesh and point cloud tile layers.First, you will need an API Key
Get Tile Templates
We include the location of the map, the template links for the orthomosaic, crop health, and elevation tile layers, and links for tailed 3D mesh and point cloud layers. A token is included with an 18-month expiry for 2D layers, and a 2 day expiry for 3D layers. You can use these links confidently to display tiles in applications based on the Mapbox or Leaflet frameworks.
GET /v2/tiles/<plan_id>
- The
plan_id
can be obtained by listing your plans
Returns JSON - Location of map, tile template links for existing 2D layers and links to tiled 3D existing layers.
curl "https://public-api.dronedeploy.com/v2/tiles/580fd790d5d264a5d8515a73?api_key={api_key}"
{
"location": {
"lat": 37.771793,
"lng": -122.407400
},
"templates": {
"orthomosaic": "https://public_tiles_test.dronedeploy.com/v1/tiles_images/580fd790d5d264a5d8515a73/orthomosaic/{z}/{x}/{y}?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImp0aSI6IjBjZmY5YzJkLTg1OTgtNDVjZi05MjRlLWRjNjJmYjkwMDkyNSIsImlhdCI6MTUwMTE5OTkwMywiZXhwIjoxNTAxMjAzNTAzfQ.wTcZ8WjBVeywS0fZELbCXmilJW10k4cUS7iCLnnpioU",
"crop-health": "https://public_tiles_test.dronedeploy.com/v1/tiles_images/580fd790d5d264a5d8515a73/crop-health/{z}/{x}/{y}?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImp0aSI6IjBjZmY5YzJkLTg1OTgtNDVjZi05MjRlLWRjNjJmYjkwMDkyNSIsImlhdCI6MTUwMTE5OTkwMywiZXhwIjoxNTAxMjAzNTAzfQ.wTcZ8WjBVeywS0fZELbCXmilJW10k4cUS7iCLnnpioU",
"elevation": "https://public_tiles_test.dronedeploy.com/v1/tiles_images/580fd790d5d264a5d8515a73/elevation/{z}/{x}/{y}?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImp0aSI6IjBjZmY5YzJkLTg1OTgtNDVjZi05MjRlLWRjNjJmYjkwMDkyNSIsImlhdCI6MTUwMTE5OTkwMywiZXhwIjoxNTAxMjAzNTAzfQ.wTcZ8WjBVeywS0fZELbCXmilJW10k4cUS7iCLnnpioU",
"Tiled 3D Mesh": "https://3d-tiles-test.dronedeploy.com/{map_id}/mesh_tileset/tileset.json?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJhcGlfdGVzdC5kcm9uZWRlcGxveS5jb20iLCJleHAiOjE2NjkyODE5MDcsImlhdCI6MTY2OTEwOTEwNywiYXVkIjoiZHJvbmVkZXBsb3lfM2RfdGlsZXNfdGVzdCIsInN1YiI6IjYyOTA4ZGZiMWJiNTU1ODU1NTdjNzVmYiIsInRlbXBsYXRlIjoiaHR0cHM6Ly8zZC10aWxlcy10ZXN0LmRyb25lZGVwbG95LmNvbS82MjkwOGRmYjFiYjU1NTg1NTU3Yzc1ZmIvIn0.q24W1Ild30JAkrcED21oYSusPjQNqiIs5vDk5QRakCeFwyi1JfW4z3Q1KPM4qneApAPzK8U81wJa6WxQVE_zsJYQa6T0ITuCdGfOGrTbTeW0dMqOizecDLVG0UGjeIlDA3F3j63YWiyp6Px9of2XRGaZGdL6HNwWEYnGUhC4ZGIN0og9PCCqbuKcRa77c2sEyA76AHyExqbAsXHkoB4jgOWhOnov_Exjnp34xEWIbjpRRX4pj3oGYu_3WjGDtStKq7fgwjeCPWatQM1NgmTLs4g-whuHBzMpqzkKlgL_yKd15K8-3-hDrDMeffCf4d1-jqGDakzQcBDzvEvP4wow3lJeDnPonppH-27Fql5T8QR3HT6j_njanNqltiXQK7F0CunNN-0flqfqjtv-J-EqwWqqXj3ZRWW0R1cK3qlzI3RCheX1zrWV5pVYR-pJ6refJ34Cbvt0SKwD27jtXn_RKsG1sI-0xNe7VYwrks_u-4XYq7jCAwfR9ksiIRbv768lj6S0jcioUJqFSFUXObyZ506-1",
"Tiled 3D Point Cloud": "https://3d-tiles-test.dronedeploy.com/map_id/point_cloud_tileset/tileset.json?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJhcGlfdGVzdC5kcm9uZWRlcGxveS5jb20iLCJleHAiOjE2NjkyODE5MDcsImlhdCI6MTY2OTEwOTEwNywiYXVkIjoiZHJvbmVkZXBsb3lfM2RfdGlsZXNfdGVzdCIsInN1YiI6IjYyOTA4ZGZiMWJiNTU1ODU1NTdjNzVmYiIsInRlbXBsYXRlIjoiaHR0cHM6Ly8zZC10aWxlcy10ZXN0LmRyb25lZGVwbG95LmNvbS82MjkwOGRmYjFiYjU1NTg1NTU3Yzc1ZmIvIn0.q24W1Ild30JAkrcED21oYSusPjQNqiIs5vDk5QRakCeFwyi1JfW4z3Q1KPM4qneApAPzK8U81wJa6WxQVE_zsJYQa6T0ITuCdGfOGrTbTeW0dMqOizecDLVG0UGjeIlDA3F3j63YWiyp6Px9of2XRGaZGdL6HNwWEYnGUhC4ZGIN0og9PCCqbuKcRa77c2sEyA76AHyExqbAsXHkoB4jgOWhOnov_Exjnp34xEWIbjpRRX4pj3oGYu_3WjGDtStKq7fgwjeCPWatQM1NgmTLs4g-whuHBzMpqzkKlgL_yKd15K8-3-hDrDMeffCf4d1-jqGDakzQcBDzvEvP4wow3lJeDnPonppH-27Fql5T8QR3HT6j_njanNqltiXQK7F0CunNN-0flqfqjtv-J-EqwWqqXj3ZRWW0R1cK3qlzI3RCheX1zrWV5pVYR-pJ6refJ34Cbvt0SKwD27jtXn_RKsG1sI-0xNe7VYwrks_u-4XYq7jCAwfR9ksiIRbv768lj6S0jcioUJqFSFUXObyZ506-1"
}
}
REST API Announcement
The REST APIs in this documentation are our legacy APIs and no longer under active development. Please go to our API explorer page and our developer page for our new more capable GraphQL based APIs.