---
footer:
  mapbox:
    - title: Products
      path: /products
    - title: Data
      path: /data-platform
    - title: Pricing
      path: /pricing
    - title: Blog
      path: /blog
    - title: Showcase
      path: /showcase
    - title: Platform
      path: /platform
    - title: Telemetry
      path: /telemetry
  aboutus:
    - title: Our story
      path: /about
    - title: Team
      path: /about/team
    - title: Jobs
      path: /jobs
    - title: Press
      path: /about/press
    - title: Green
      path: /about/green
    - title: Open source
      path: /about/open
    - title: Board and investors
      path: /about/board
  support:
    - title: Help/FAQ
      path: /help
    - title: Status
      path: /status
    - title: Map feedback
      path: /map-feedback
    - title: Contact us
      path: /contact
    - title: Education
      path: /education
    - title: Security
      path: /security
  mapdesign:
    - title: Maps
      path: /maps
    - title: Mapbox Studio
      path: /mapbox-studio
    - title: Map Gallery
      path: /gallery
    - title: Vector tiles
      path: /developers/vector-tiles
    - title: Maki icons
      path: /maki
  developers:
    - title: Mapbox API
      path: /developers/api
    - title: Mapbox.js
      path: /mapbox.js
    - title: iOS SDK
      path: /ios-sdk
    - title: Android SDK
      path: /android-sdk
    - title: Mapbox GL for JS
      path: /mapbox-gl-js
  industries:
    - title: Real estate
      path: /industries/realestate
    - title: Transportation
      path: /industries/transportation
    - title: Agriculture
      path: /industries/agriculture
    - title: Social
      path: /industries/social
    - title: Government
      path: /industries/government
---
<!DOCTYPE html >
<html>
<head>
  {% if page.prehead %}{{page.prehead}}{% endif %}
  {% if site.baseurl == '/mapbox.js' %}{% assign version = page.version | replace:'.','', | replace:'v','' | plus: 0 %}{% if version < 200 and page.version != 'latest' %}
  <meta http-equiv='content-type' content='text/html; charset=utf-8' />
  <meta http-equiv='refresh' content='0;url={{site.baseurl}}/api/{{site.mapboxjs}}/' />
  <meta name='robots' content='noindex'>{% endif %}{% endif %}
  <meta charset='UTF-8'/>
  <meta http-equiv='X-UA-Compatible' content='IE=edge' />
  <meta name='robots' content='{% if page.hidden %}noindex{% else %}index{% endif %}'/>
  <meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
  <meta name='apple-mobile-web-app-capable' content='yes' />
  {% if page.description %}<meta name='description' content='{{page.description | strip_html}}'/>{% endif %}
  <title>{% if page.title == 'Mapbox' %}{{page.title}} | Design and publish beautiful maps{% else %}{{page.title}} | Mapbox{% endif %}</title>

  <meta class='swiftype' name='title' data-type='string' content='{{page.title | replace:"'","&rsquo;" | replace:"'","&rsquo;" | replace:"| Mapbox",""}}' />
  <meta class='swiftype' name='type' data-type='enum' content='{% if page.section %}{{page.section}}{% elsif page.category %}{{page.category}}{% else %}site{% endif %}' />
  <meta class='swiftype' name='info' data-type='string' content='{% if page.version %}{{page.version}}{% else %}site{% endif %}' />{% if page.date and site.baseurl == '/blog' %}
  <meta class='swiftype' name='published_at' data-type='date' content='{{ page.date | date_to_xmlschema }}' />{% endif %}{% if page.tags %}
  {% for tags in page.tags %}<meta class='swiftype' name='tags' data-type='string' content='{{tags}}' />
  {% endfor %}{% endif %}{% if page.category and page.category !='none' %}
  <meta class='swiftype' name='category' data-type='string' content='{{page.category}}' />{% endif %}{% if page.author %}
  <meta class='swiftype' name='author' data-type='string' content='{{page.author}}' />{% endif %}{% if page.excerpt or page.description %}
  <meta class='swiftype' name='excerpt' data-type='string' content='{% if page.description %}{{ page.description | strip_html | strip_newlines | replace:"'","&rsquo;" | replace:"'","&rsquo;" | truncatewords: 30 }}{% else %}{{ page.excerpt | strip_html | strip_newlines | replace:"'","&rsquo;" | replace:"'","&rsquo;" | truncatewords: 30 }}{% endif %}' />{% endif %}
  {% if page.card %}
  <meta name='twitter:site' content='@Mapbox' />
  <meta property='og:site_name' content='Mapbox' />
  <meta name='twitter:url' content='{% if page.permalink %}{{page.permalink}}{% else %}{{page.url | replace:"index.html",""}}{% endif %}' />
  <meta property='og:url' content='{% if page.permalink %}{{page.permalink}}{% else %}{{page.url | replace:"index.html",""}}{% endif %}' />
  <meta name='twitter:title' content='{{page.title | replace:"'","&rsquo;" | replace:"'","&rsquo;"}}' />
  <meta property='og:title' content='{{page.title | replace:"'","&rsquo;" | replace:"'","&rsquo;"}}' />
  <meta name='twitter:description' content='{% if page.description %}{{ page.description | truncatewords: 30 }}{% elsif page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | replace:"'","&rsquo;" | replace:"'","&rsquo;" | truncatewords: 30 }}{% else %}{{content | strip_html | truncatewords: 30 }}{% endif %}' />
  <meta property='og:description' content='{% if page.description %}{{ page.description | truncatewords: 30 }}{% elsif page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | replace:"'","&rsquo;" | replace:"'","&rsquo;" | truncatewords: 30 }}{% else %}{{content | strip_html | truncatewords: 30 }}{% endif %}' />
  {% if page.video %}
  <meta name='twitter:card' content='player' />
  <meta name='twitter:player' content='{{page.video | replace: "http:" , "https:" }}' />
  <meta name='twitter:player:width' content='640' />
  <meta name='twitter:player:height' content='480' />
  <meta property='og:type' content='video.other' />
  <meta property='og:video' content='{{page.video}}' />
  <meta property='og:video:width' content='640' />
  <meta property='og:video:height' content='480' />
  {% elsif page.image %}
  <meta name='twitter:image' content='{{page.image | replace:"https:","http:"}}' />
  <meta name='st:image' content='{{page.image | replace:"https:","http:"}}' />
  <meta property='og:image' content='{{page.image | replace:"https:","http:"}}' />
  <meta name='twitter:card' content='summary_large_image' />
  <meta property='og:type' content='website' />
  {% endif %}
  {% endif %}
  <meta name="p:domain_verify" content="57838af58c8045c2c024bc2f9d1577f9"/>

  <link href='{% if site.baseApi %}{{site.baseApi}}{% else %}https://www.mapbox.com{% endif %}/base/latest/base.css?v1.0' rel='stylesheet' />
  <link href='{{site.url}}/css/site.css' rel='stylesheet' />
  <!--[if IE 9]><link href='{{site.url}}/css/site-ie9.css' rel='stylesheet' /><![endif]-->
  <link rel='shortcut icon' href='{{site.url}}/img/favicon.ico' type='image/x-icon' />
  <link rel='alternate' type='application/rss+xml' title='RSS' href='{{site.url}}/blog/blog.rss' />

  {% unless page.nomapboxjs %}
  <link href='{% if site.mapboxjsbase %}{{site.mapboxjsbase}}{% else %}https://api.tiles.mapbox.com/mapbox.js/{% if site.mapboxjs %}{{site.mapboxjs}}{% else %}v1.6.5{% endif %}{% endif %}/mapbox.css' rel='stylesheet' />
  {% endunless %}

  <!--[if lt IE 9 ]><script src='{{site.url}}/js/redirect-ie.js'></script><![endif]-->
  <script src='https://js.stripe.com/v2/'></script>
  <script>
  var KM_COOKIE_DOMAIN = 'www.mapbox.com';
  var analytics=analytics||[];(function(){var e=['identify','track','trackLink','trackForm','trackClick','trackSubmit','page','pageview','ab','alias','ready','group'],t=function(e){return function(){analytics.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var n=0;n<e.length;n++)analytics[e[n]]=t(e[n])})(),analytics.load=function(e){var t=document.createElement('script');t.type='text/javascript',t.async=!0,t.src=('https:'===document.location.protocol?'https://':"http://")+'d2dq2ahtl5zl1z.cloudfront.net/analytics.js/v1/'+e+'/analytics.min.js';var n=document.getElementsByTagName('script')[0];n.parentNode.insertBefore(t,n)};
  analytics.load(window.location.hostname.indexOf('mapbox.com') !== -1 ? 'fl0c8p240n' : '0biiejpgfj');

  Stripe.setPublishableKey(window.location.hostname.indexOf('mapbox.com') !== -1 ?
    'pk_live_hI6mmOTIg7KkywK6vo3vJvpk' : 'pk_test_gmIyREg3sKzAiyMkAEeCsxUG');
  </script>
  {% unless page.nomapboxjs %}
  <script src='{% if site.mapboxjsbase %}{{site.mapboxjsbase}}{% else %}https://api.tiles.mapbox.com/mapbox.js/{% if site.mapboxjs %}{{site.mapboxjs}}{% else %}v1.6.5{% endif %}{% endif %}/mapbox.js'></script>
  {% endunless %}

  <script>
  window.mapbox_api = '{{site.api}}';
  window.mapbox_tileApi = '{{site.tileApi}}';
  window.mapbox_accessToken = '{{site.accessToken}}' || 'pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpbG10dnA3NzY3OTZ0dmtwejN2ZnUycjYifQ.1W5oTOnWXQ9R1w8u3Oo1yA'
  if (typeof L !== 'undefined' && L.mapbox.VERSION[0] === '2') {
      L.mapbox.accessToken = window.mapbox_accessToken;
      L.mapbox.config.FORCE_HTTPS = true;
      L.mapbox.config.HTTPS_URL = window.mapbox_tileApi + '/v4';
  }
  </script>
  <script src='{% if site.baseApi %}{{site.baseApi}}{% else %}https://www.mapbox.com{% endif %}/base.js/dist/base.js'></script>
  {% if site.test %}<script src='{{site.url}}/test/tape.js'></script>{% endif %}
  {% if page.head %}{{page.head}}{% endif %}
</head>
<body class='{{page.class}} {{page.options}}{% if page.blog_featured == true %} bleed{% endif %}'>
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-PQR37Z" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-PQR37Z');</script>
<!-- End Google Tag Manager -->

<div class='page-content'>
{% if page.app %}
{{content}}
{% else %}

<div class='main-subnav fill-midnight splash pin-top dark clearfix'>
  <div class='prose dark keyline-top pad4y hover-area clearfix'>
    <div class='limiter clearfix'>

      <div class='subnav-group subnav-products clearfix'>
        <div class='col6 clearfix'>
          <h3><a href='/products/' class='rcon next'>Our products</a></h3>
          <div class='col5'>
            <a class='block pad1y icon map' href='/maps'>Maps</a>
            <a class='block pad1y icon studio' href='/mapbox-studio'>Mapbox Studio</a>
            <a class='block pad1y icon compass' href='/directions/'>Directions</a>
            <a class='block pad1y icon marker' href='/geocoding/'>Geocoding</a>
          </div>
          <div class='col6'>
            <a class='block pad1y icon bolt' href='/analysis/'>Analysis</a>
            <a class='block pad1y icon mobile' href='/mobile/'>Mobile</a>
            <a class='block pad1y icon satellite' href='/satellite/'>Satellite</a>
            <a class='block pad1y icon globe' href='/atlas/'>Atlas Server</a>
          </div>
        </div>
        <div class='col5 margin1r'>
          <h3>Our platform</h3>
          <a class='block pad1y icon mt' href='/enterprise/'>Enterprise ready</a>
          <a class='block pad1y icon building' href='/platform/'>Scalable infrastructure</a>
          <a class='block pad1y icon lock' href='/platform/security/'>Security</a>
          <a class='block pad1y icon data' href='/data-platform/'>Curated Data</a>
        </div>
      </div>

      <div class='subnav-group subnav-use-cases clearfix'>
        <div class='col7 clearfix'>
          <h3><a href='/industries/' class='rcon next'>Industries</a></h3>
          <div class='col4'>
            <a class='block pad0y' href='/industries/social'>Web &amp; Social</a>
            <a class='block pad0y' href='/industries/logistics'>Logistics</a>
            <a class='block pad0y' href='/industries/outdoors'>Fitness &amp; Outdoors</a>
            <a class='block pad0y' href='/industries/naturalresources'>Natural Resources</a>
            <a class='block pad0y' href='/industries/agriculture'>Agriculture</a>
          </div>
          <div class='col4'>
            <a class='block pad0y' href='/industries/transportation'>Transportation</a>
            <a class='block pad0y' href='/industries/realestate'>Real Estate</a>
            <a class='block pad0y' href='/industries/insurance'>Insurance</a>
            <a class='block pad0y' href='/industries/security'>Security</a>
            <a class='block pad0y' href='/industries/finance'>Finance</a>
          </div>
          <div class='col4'>
            <a class='block pad0y' href='/industries/drones'>Drones</a>
            <a class='block pad0y' href='/industries/government'>Government</a>
            <a class='block pad0y' href='/industries/health'>Health</a>
            <a class='block pad0y' href='/industries/media'>Media</a>
            <a class='block pad0y' href='/industries/travel'>Travel</a>
          </div>
        </div>
        <div class='col4 margin1'>
          <h3>Examples</h3>
            <a class='block pad0y' href='/gallery/'>Map Gallery</a>
            <a class='block pad0y' href='/showcase/'>Customer Showcase</a>
        </div>
      </div>

      <div class='subnav-group subnav-documentation clearfix'>
        <div class='col8 clearfix subnavcol'>
          <h3><a href='/developers/' class='rcon next'>Developer tools</a></h3>
          <div class='col4'>
            <a class='block pad1y icon gl' href='/mapbox-gl-js/api/'>Mapbox GL JS</a>
            <a class='block pad1y icon apple' href='/ios-sdk/'>Mapbox iOS SDK</a>
            <a class='block pad1y icon android' href='/android-sdk/'>Mapbox Android SDK</a>
            <a class='block pad1y icon globe' href='/mapbox.js/api/'>Mapbox.js</a>
          </div>
          <div class='col4'>
            <a class='block pad1y icon marker' href='/api-documentation/#geocoding'>Geocoding API</a>
            <a class='block pad1y icon paint' href='/api-documentation/#styles'>Styles API</a>
            <a class='block pad1y icon up' href='/api-documentation/#uploads'>Uploads API</a>
            <a class='block pad1y icon inspect' href='/developers/api/surface/'>Surface API</a>
          </div>
          <div class='col4'>
            <a class='block pad1y icon compass' href='/api-documentation/#directions'>Directions API</a>
            <a class='block pad1y icon point-line' href='/api-documentation/#distance'>Distance API</a>
            <a class='block pad1y icon picture' href='/api-documentation/#static'>Static API</a>
            <a class='block pad1y icon data' href='/api-documentation/#maps'>Tiles API</a>
          </div>
        </div>
        <div class='col3 margin1r subnavcol'>
        <h3>References</h3>
          <a class='block pad1y' href='/tos'>TOS</a>
          <a class='block pad1y' href='/privacy/'>Privacy</a>
          <a class='block pad1y' href='/about/open/'>Open source tools</a>
          <a class='block pad1y' href='/telemetry/'>Telemetry</a>
        </div>
      </div>

      <div class='subnav-group subnav-help clearfix'>
        <div class='col3'>
          <h3><a href='/help/' class='rcon next'>Help</a></h3>
          <a class='block pad1y icon search' href='/help/'>Search</a>
          <a class='block pad1y icon mapbox' href='/help/how-mapbox-works/'>How Mapbox works</a>
          <a class='block pad1y icon book' href='/help/glossary/'>Glossary</a>
        </div>
        <div class='col8 margin1 clearfix'>
          <h3>I would like to</h3>
          <div class='col6'>
            <a class='block pad1y icon paint' href='/help/#design-a-map'>Design a map</a>
            <a class='block pad1y icon mobile' href='/help/#build-a-mobile-app'>Build a mobile app</a>
            <a class='block pad1y icon globe' href='/help/#build-a-web-app'>Build a web app</a>
            <a class='block pad1y icon bolt' href='/help/#extend-my-app-with-web-services'>Extend my app with web services</a>
          </div>
          <div class='col6'>
            <a class='block pad1y icon satellite'  href='/help/#work-with-data-and-imagery'>Work with data &amp; Imagery</a>
            <a class='block pad1y icon data' href='/help/#analyze-data'>Analyze Data</a>
            <a class='block pad1y icon lock' href='/help/#learn-about-mapbox-privacy-and-policies'>Learn about privacy and policies</a>
            <a class='block pad1y icon account' href='/help/#make-changes-to-my-account'>Make changes to my account</a>
          </div>
        </div>
      </div>

    </div>
  </div>
</div>

<div class='masthead col12 clearfix {% unless page.options contains 'bleed' %}fill-blue{% endunless %} {% unless page.options contains 'light' %}dark{% endunless %} {% if page.title == 'Mapbox' %}home-nav{% endif %} {% if page.title == 'Developers' %}developers-nav{% endif %} {% if page.title == 'Education' %}education-nav{% endif %} {% if page.url contains '/gallery' %}gallery-page{% endif %}' data-swiftype-index='false'>
  <div class='limiter clearfix'>
    <nav class='col12 text-right navigation-padding-top contain animate clearfix noprint'>
      <a class='fl mb-logo' href='/'></a>
      <h4 class='logo-enterpriseaddon pin-topleft text-aqua block-in-enterprise'>Enterprise</h4>

      <!-- Desktop nav -->
      <div class='text-right z10 strong small primary hide-mobile space-top0'>
        <div class='inline align-top'>
         <div class='dropdown inline fl contain'  data-category='products'> <a href='/products/'     class='contain primary-nav-button fl pad1x pad0y round '>Products</a></div>
          <div class='dropdown inline fl contain'  data-category='use-cases'> <a href='/industries/'  class='contain primary-nav-button fl pad1x pad0y round'>Industries</a></div>
         <div class='dropdown inline fl contain'  data-category='documentation'>  <a href='/developers/'  class='contain primary-nav-button fl pad1x pad0y round '>Developers</a></div>
         <div class='dropdown inline fl contain'  data-category='help'>  <a href='/help/'  class='contain primary-nav-button fl pad1x pad0y round {% if page.url contains '/help' %}active{% endif %}'>Help &amp; Guides</a></div>
          <div class='inline fl'> <a href='/pricing/'  class='primary-nav-button fl pad1x pad0y round quiet {% if page.url contains '/pricing' %}active{% endif %}'>Pricing</a></div>
          <div class='inline fl'> <a href='/blog/'   class='primary-nav-button fl pad1x pad0y round quiet {% if page.url contains '/blog' %}active{% endif %}'>Blog</a></div>
        </div>
        <!-- Hardcoded width so content doesn't jump -->
        <div style='width:130px' class='unfloat inline align-top' id='nav'></div>
      </div>

      <!-- Mobile nav -->
      <div class='show-mobile contain dropdown-container pin-topright'>
        <a href='#menu' class='dark contain z1 big inline icon menu round quiet dropdown-button js-dropdown-button pin-right'></a>
        <div id='menu' class='js-dropdown-menu scroll-v dropdown-menu offcanvas-top fill-midnight clip col12 pin-top animate'>
          <div class='keyline-bottom clearfix'>
            <div class='mobile-cols pad4y keyline-bottom clearfix'>
              <a class='pad1 block strong col6' href='/products/'>Products</a>
              <a class='pad1 block strong col6' href='/mapbox-studio/'>Mapbox Studio</a>
              <a class='pad1 block strong col6' href='/data-platform/'>Data</a>
              <a class='pad1 block strong col6' href='/gallery/'>Gallery</a>
              <a class='pad1 block strong col6' href='/industries/'>Industries</a>
              <a class='pad1 block strong col6' href='/help/'>Help</a>
              <a class='pad1 block strong col6' href='/developers/'>Developers</a>
              <a class='pad1 block strong col6' href='/blog/'>Blog</a>
              <a class='pad1 block strong col6' href='/pricing/'>Pricing</a>
            </div>
            <div id='mobile-nav' class='pad2y clearfix mobile-cols'>
              <a class='pad1 block strong col6 signin' href='/studio/'>Log in</a>
              <a class='pad1 block strong col6' href='/studio/signup/'>Sign up</a>
            </div>
          </div>

          <div class='clearfix small'>
            <div class='col12 clearfix pad4y keyline-bottom'>
              <h3 class='pad0y pad1x strong space-bottom1'>Products</h3>
              <div class='col12 pad1x clearfix  mobile-cols '>
                <a class='pad0y block quiet col6' href='/maps/'>Maps</a>
                <a class='pad0y block quiet col6' href='/geocoding/'>Geocoding</a>
                <a class='pad0y block quiet col6' href='/directions/'>Directions</a>
                <a class='pad0y block quiet col6' href='/developers/'>Developer tools</a>
                <a class='pad0y block quiet col6' href='/satellite/'>Satellite</a>
                <a class='pad0y block quiet col6' href='/analysis/'>Analysis</a>
                <a class='pad0y block quiet col6' href='/atlas/'>Atlas</a>
                <a class='pad0y block quiet col6' href='/highvolume/'>High Volume</a>
              </div>
            </div>
            <div class='col12 pad1x clearfix  mobile-cols pad4y '>
              <a class='pad0y block strong quiet col6' href='/about/'>About</a>
              <a class='pad0y block strong quiet col6' href='/about/team/'>Team</a>
              <a class='pad0y block strong quiet col6' href='/jobs/'>Jobs</a>
              <a class='pad0y block strong quiet col6' href='/about/press/'>Press</a>
              <a class='pad0y block strong quiet col6' href='/tos/'>Legal</a>
              <a class='pad0y block strong quiet col6' href='/contact/'>Contact</a>
              <a class='pad0y block strong quiet col6' href='/education/'>Education</a>
              <a class='pad0y block strong quiet col6' href='/security/'>Security</a>
              <a class='pad0y block strong quiet col6' href='/about/board'>Board</a>
            </div>
          </div>
        </div>
      </div>

    </nav>
  </div>
</div>


<div class='{% unless page.options contains 'full' %} limiter clearfix{% endunless %}'>{{content}}</div>

{% unless page.url contains '/hello/directions' or page.url contains '/welcome'  %}
<div class='footer footer-in-docs clearfix contain hide-mobile noprint fill-light' data-swiftype-index='false'>
  <div class='limiter clearfix'>
    <div class='footer-in-docs footer-cols-in-docs clearfix col12 pad8y small'>
      <div class='hide-in-docs col2'>
        <h3 class='space-bottom1'>Overview</h3>
        {% for item in page.footer.mapbox %}
        <a id='footer-{{item.title | downcase | replace:' ','-'}}' class='space-bottom0 quiet col12 strong' href='{{site.url}}{{item.path}}/'>{{item.title}}</a>
        {% endfor %}
      </div>
      <div class='col2 footer-col-in-docs'>
        <h3 class='space-bottom1'>About us</h3>
        {% for item in page.footer.aboutus %}
        <a id='footer-{{item.title | downcase | replace:' ','-'}}' class='space-bottom0 col12 quiet strong' href='{{site.url}}{{item.path}}/'>{{item.title}}</a>
        {% endfor %}
      </div>
      <div class='col2 footer-col-in-docs'>
        <h3 class='space-bottom1'>Help</h3>
        {% for item in page.footer.support %}
        <a id='footer-{{item.title | downcase | replace:' ','-'}}' class='space-bottom0 col12 quiet strong' href='{{site.url}}{{item.path}}/'>{{item.title}}</a>
        {% endfor %}
      </div>
       <div class='col2 footer-col-in-docs'>
        <h3 class='space-bottom1'>Map design</h3>
        {% for item in page.footer.mapdesign %}
        <a id='footer-{{item.title | downcase | replace:' ','-'}}' class='space-bottom0 col12 quiet strong' href='{% if item.href %}{{item.href}}{% else %}{{site.url}}{{item.path}}{% endif %}/'>{{item.title}}</a>
        {% endfor %}
      </div>
      <div class='col2 footer-col-in-docs'>
        <h3 class='space-bottom1'>Developers</h3>
        {% for item in page.footer.developers %}
        <a id='footer-{{item.title | downcase | replace:' ','-'}}' class='space-bottom0 col12 quiet strong' href='{% if item.href %}{{item.href}}{% else %}{{site.url}}{{item.path}}{% endif %}/'>{{item.title}}</a>
        {% endfor %}
        <a href='{{site.url}}/developers/' class='small rcon next quiet'>All developers</a>
      </div>
      <div class='hide-in-docs col2 footer-col-in-docs'>
        <h3 class='space-bottom1'>Industries</h3>
        {% for item in page.footer.industries %}
        <a id='footer-{{item.title | downcase | replace:' ','-'}}' class='space-bottom0 col12 quiet strong' href='{% if item.href %}{{item.href}}{% else %}{{site.url}}{{item.path}}{% endif %}/'>{{item.title}}</a>
        {% endfor %}
        <a href='{{site.url}}/industries/' class='small rcon next quiet'>All industries</a>
      </div>
    </div>

  </div>

  <div class='limiter newsletter-copyright hide-in-docs clearfix'>
    <div class='contain col4 footer-social'>
      <div class='animate footer-animation col6'></div>
      <div class='footer-dialog fr small strong pad2 col6 contain round fill-darken0'>
      Follow Mapbox on <a href='https://twitter.com/mapbox'>Twitter</a>, <a href='https://www.facebook.com/Mapbox'>Facebook</a>, <a href='https://instagram.com/mapbox'>Instagram</a> and <a href="https://www.linkedin.com/company/mapbox">LinkedIn</a>.
      </div>
    </div>
    <div class='margin1 col7 pad2 fill-darken0 round contain'>
      <form id='newsletter' method='post'>
        <h3 class='space-bottom1'>Sign up for our newsletter</h3>
        <p class='quiet'>Keep up with Mapbox product announcements, events, and walkthroughs.</p>
        <fieldset class='clearfix newsletter-in-docs input-pill col12 pill with-icon'>
          <span class='icon mail quiet'></span>
          <input type='text' value='' placeholder='Email address' name='email' class='col9 required email'>
          <input type='submit' value='Subscribe' class='button col3'>
        </fieldset>
      </form>
    </div>
  </div>
</div>

<div class='footer-in-docs terms-in-docs col12 center footer-copyright small pad4 noprint fill-light contain' data-swiftype-index='false'>
  <a href='{{site.url}}/tos'>Terms</a> +
  <a href='{{site.url}}/privacy'>Privacy</a>
  &copy; Mapbox
</div>
{% endunless %}

{% if page.url contains '/hello/directions' %}
<div class='footer-in-docs terms-in-docs col12 center footer-copyright small pad4 noprint fill-light contain' data-swiftype-index='false'>
  <a href='{{site.url}}/tos'>Terms</a> +
  <a href='{{site.url}}/privacy'>Privacy</a>
  &copy; Mapbox
</div>
{% endif %}
{% endif %}

<div id='modal-content' class='animate modal modal-content'></div>
</div>

<script>
var $dropdownTriggers = $('.dropdown');
var $dropdownArea = $('.main-subnav');
var $dropdownZone = $('.hover-area');

$dropdownTriggers.each(function() {
  var $this = $(this);
  window.hoverintent(this, function() {
    $dropdownTriggers.removeClass('show');
    $('.subnav-group').removeClass('show');
    $dropdownArea.addClass('show');
    $('.subnav-' + $this.data('category')).addClass('show');
    $this.addClass('show');
  }, function() {
    if (!$dropdownZone.hasClass('hovered') && $('.dropdown:hover').length === 0) {
      $dropdownArea.removeClass('show');
      $dropdownTriggers.removeClass('show');
    }
  }).options({
    timeout: 1000
  });
});

$dropdownZone.mouseover(function() {
  $(this).addClass('hovered');
  return false;
}).mouseleave(function() {
  $(this).removeClass('hovered');
  window.setTimeout(function() {
    if ($('.dropdown:hover').length === 0) {
      $dropdownArea.removeClass('show');
      $dropdownTriggers.removeClass('show');
    }
  }, 300);
});
</script>

</body>
</html>
