All examples By author By category About

tmcw

MapBox OpenLayers Example

An example of integrating MapBox with OpenLayers.

To use this example, you'll want to:

  1. Replace layer_id with one of your layers from MapBox - click 'Publish' and copy the ID.

To do more with OpenLayers, see the API documentation and examples for this release. Read MapBox's REST API Documentation for more services that can be used.