Getting Started
Map Styles
Web Code Samples
Mobile Code Samples

Getting Started

Accessing AccuTerra Maps

Welcome to AccuTerra Maps. Adding AccuTerra Maps to your mobile or web applications is a great way to empower your users with access to the most complete outdoor recreation maps avaliable.

AccuTerra provides multiple map styles for you to choose from, see the Map Styles section below for more information on each style. Each map style supports both raster and vector tiles.

Each map service requires a API key to work. You can manage your API keys within the API Keys section of your Account page.

Get started developing with AccuTerra today, create your free account.

Map Styles

Accuterra Outdoors

AccuTerra Outdoors showcases the unique map content AccuTerra has to offer. Our public lands data, combined with . We show in bright and bold color America’s many public land types so you always know who manages the land you’re on. When combined with our extensive road and trail network and overlaid on our highly detailed terrain data, AccuTerra Outdoors is the perfect companion for your next outdoor adventure. This map is available in both metric and imperial elevation units.

'Imperial: https://maps.accuterra.com/v1/styles/accuterra-outdoors.json?apiKey=YOUR-MAP-API-KEY-HERE', 'Metric: https://maps.accuterra.com/v1/styles/accuterra-outdoors-m.json?apiKey=YOUR-MAP-API-KEY-HERE',

Web Code Samples

Accuterra Mapbox GL

<html> <head> <title>MapBox GL</title> <script type="text/javascript" src="https://api.mapbox.com/mapbox-gl-js/v1.10.1/mapbox-gl.js" ></script> <link rel="stylesheet" type="text/css" href="https://api.mapbox.com/mapbox-gl-js/v1.10.1/mapbox-gl.css" /> <style type="text/css"> body { margin: 0; padding: 0; } #my-map { position: absolute; top: 0; bottom: 0; width: 100%; } </style> </head> <body> <div id="my-map"></div> <script type="text/javascript"> var myKey = 'YOUR-MAP-API-KEY-HERE'; var map = new mapboxgl.Map({ container: 'my-map', style: `https://maps.accuterra.com/v1/styles/accuterra-outdoors/style.json?key=${myKey}`, center: [-105.0, 39.65], zoom: 10, attributionControl: false, }).addControl( new mapboxgl.AttributionControl({ compact: false, customAttribution: '&copy; AccuTerra Maps', }) ); map.addControl(new mapboxgl.NavigationControl()); </script> </body> </html>

Mobile Code Samples

Accuterra Mapbox Android

package com.accuterra.mapbox_accuterra_maps_demo import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.mapbox.mapboxsdk.Mapbox import com.mapbox.mapboxsdk.camera.CameraPosition import com.mapbox.mapboxsdk.geometry.LatLng import com.mapbox.mapboxsdk.maps.MapView import com.mapbox.mapboxsdk.maps.MapboxMapOptions class MainActivity : AppCompatActivity() { private var mapView: MapView? = null override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) Mapbox.getInstance(this, getString(R.string.mapbox_access_token)) val options = MapboxMapOptions.createFromAttributes(this, null) .camera( CameraPosition.Builder() .target(LatLng(39.375239, -104.861077)) .zoom(14.0) .build() ) mapView = MapView(this, options) mapView?.onCreate(savedInstanceState) // Visit https://accuterra.com and create your free account to get a map API key. val accuterraMapsKey = "YOUR-MAP-API-KEY-HERE" mapView?.getMapAsync { mapboxMap -> mapboxMap.setStyle("https://maps.accuterra.com/v1/styles/accuterra-outdoors/style.json?key=$accuterraMapsKey") { // Map is set up and the style has loaded. Now you can add data or make other map adjustments. } } setContentView(mapView) } override fun onStart() { super.onStart() mapView?.onStart() } override fun onResume() { super.onResume() mapView?.onResume() } override fun onPause() { super.onPause() mapView?.onPause() } override fun onStop() { super.onStop() mapView?.onStop() } override fun onSaveInstanceState(outState: Bundle) { super.onSaveInstanceState(outState) mapView?.onSaveInstanceState(outState) } override fun onLowMemory() { super.onLowMemory() mapView?.onLowMemory() } override fun onDestroy() { super.onDestroy() mapView?.onDestroy() } }