block by tmcw 5492123

MapBox OpenLayers Example

Full Screen

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.

index.html