An Introduction to MapBox

13

Transcript of An Introduction to MapBox

Page 1: An Introduction to MapBox
Page 2: An Introduction to MapBox

What is MapBox?

• A company• A cloud-based map

hosting service• A set of tools for

design and deployment of map tiles

Page 3: An Introduction to MapBox

MapBox & the Modern Web

Page 4: An Introduction to MapBox

MapBox & the Modern Web

• Speaks the language of modern web development– Stylesheets ( CSS-like )– Scripting ( JavaScript )– Well-defined specifications

Page 5: An Introduction to MapBox

MapBox & the Modern Web

• Shares the same goals of modern web development– Separation of concerns– Service-oriented (RESTful services)– Platform agnostic– Offline support– Well-defined specifications (JSON)– Open source

Page 6: An Introduction to MapBox

The MapBox Stack

• TileMill– Carto– MBTiles

• TileStream– TileJSON

• Wax

Page 7: An Introduction to MapBox

Carto

• Defines map tile & label styles

• easy to comprehend• Interchangeable• shareable

Page 8: An Introduction to MapBox
Page 9: An Introduction to MapBox

MBTiles

• a well-defined specification for storing tiled map data in SQLite for immediate usage & transfer

• defines metadata & tiles

Page 10: An Introduction to MapBox

TileStream

• Asynchronous• Event-driven• Efficient memory usage• Server-side JavaScript

Serves up MBTiles

Page 11: An Introduction to MapBox

TileJSON

• a well-defined open standard for representing map metadata

• map tile REST resource locations

• interaction templates

http://localhost:8888/v2/FEMA_FloodMaps/{z}/{x}/{y}.png

Page 12: An Introduction to MapBox

Wax

• connector library for numerous JavaScript mapping services

Page 13: An Introduction to MapBox