From 6992035830e6a34ab12769ba660c0e73d2f1e8ca Mon Sep 17 00:00:00 2001 From: Lucas Wojciechowski Date: Fri, 22 Jul 2016 11:03:26 -0400 Subject: [PATCH 1/9] Add icon table to README --- README.md | 159 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 159 insertions(+) diff --git a/README.md b/README.md index 5ecded13..a594c29d 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,165 @@ All styles except Empty include [these sprite images](https://github.com/mapbox/ When you use an icon in a style, you must specify the icons size as a suffix to its name. Supported size suffixes are `-11` and `-15`, representing an 11px and a 15px square respectively. For example, a 15px airfield icon would be specified as `"icon-image": "airfield-15"`. +- airfield-11 +- airfield-15 +- airport-11 +- airport-15 +- alcohol-shop-11 +- alcohol-shop-15 +- amusement-park-11 +- amusement-park-15 +- aquarium-11 +- aquarium-15 +- art-gallery-11 +- art-gallery-15 +- attraction-11 +- attraction-15 +- bakery-11 +- bakery-15 +- bank-11 +- bank-15 +- bar-11 +- bar-15 +- beer-11 +- beer-15 +- bicycle-11 +- bicycle-15 +- bicycle-share-11 +- bicycle-share-15 +- bus-11 +- bus-15 +- cafe-11 +- cafe-15 +- campsite-11 +- campsite-15 +- car-11 +- car-15 +- castle-11 +- castle-15 +- cemetery-11 +- cemetery-15 +- cinema-11 +- cinema-15 +- circle-11 +- circle-15 +- circle-stroked-11 +- circle-stroked-15 +- clothing-store-11 +- clothing-store-15 +- college-11 +- college-15 +- dentist-11 +- dentist-15 +- doctor-11 +- doctor-15 +- dog-park-11 +- dog-park-15 +- drinking-water-11 +- drinking-water-15 +- embassy-11 +- embassy-15 +- entrance-11 +- entrance-15 +- fast-food-11 +- fast-food-15 +- ferry-11 +- ferry-15 +- fire-station-11 +- fire-station-15 +- fuel-11 +- fuel-15 +- garden-11 +- garden-15 +- golf-11 +- golf-15 +- grocery-11 +- grocery-15 +- harbor-11 +- harbor-15 +- heliport-11 +- heliport-15 +- hospital-11 +- hospital-15 +- ice-cream-11 +- ice-cream-15 +- information-11 +- information-15 +- laundry-11 +- laundry-15 +- library-11 +- library-15 +- lodging-11 +- lodging-15 +- monument-11 +- monument-15 +- mountain-11 +- mountain-15 +- museum-11 +- museum-15 +- music-11 +- music-15 +- park-11 +- park-15 +- pharmacy-11 +- pharmacy-15 +- picnic-site-11 +- picnic-site-15 +- place-of-worship-11 +- place-of-worship-15 +- playground-11 +- playground-15 +- police-11 +- police-15 +- post-11 +- post-15 +- prison-11 +- prison-15 +- rail-11 +- rail-15 +- rail-light-11 +- rail-light-15 +- rail-metro-11 +- rail-metro-15 +- religious-christian-11 +- religious-christian-15 +- religious-jewish-11 +- religious-jewish-15 +- religious-muslim-11 +- religious-muslim-15 +- restaurant-11 +- restaurant-15 +- rocket-11 +- rocket-15 +- school-11 +- school-15 +- shop-11 +- shop-15 +- stadium-11 +- stadium-15 +- star-11 +- star-15 +- suitcase-11 +- suitcase-15 +- swimming-11 +- swimming-15 +- theatre-11 +- theatre-15 +- toilet-11 +- toilet-15 +- town-hall-11 +- town-hall-15 +- triangle-11 +- triangle-15 +- triangle-stroked-11 +- triangle-stroked-15 +- veterinary-11 +- veterinary-15 +- volcano-11 +- volcano-15 +- zoo-11 +- zoo-15 + ## Usage The preferred way to use these styles in Mapbox GL JS or the Mapbox Mobile SDKs is via a `mapbox://` URL. From fc24340ede6362beeb71b79471d9a51a0d47e53c Mon Sep 17 00:00:00 2001 From: Lucas Wojciechowski Date: Fri, 22 Jul 2016 11:07:15 -0400 Subject: [PATCH 2/9] Design tweaks --- README.md | 330 +++++++++++++++++++++++++++--------------------------- 1 file changed, 165 insertions(+), 165 deletions(-) diff --git a/README.md b/README.md index a594c29d..799f8315 100644 --- a/README.md +++ b/README.md @@ -46,171 +46,6 @@ A beautiful global satellite and aerial imagery layer. A blank slate. Build your own map from the ground up. -## Standard icons - -All styles except Empty include [these sprite images](https://github.com/mapbox/maki/blob/master/layouts/streets.json) from the Maki project. - -When you use an icon in a style, you must specify the icons size as a suffix to its name. Supported size suffixes are `-11` and `-15`, representing an 11px and a 15px square respectively. For example, a 15px airfield icon would be specified as `"icon-image": "airfield-15"`. - -- airfield-11 -- airfield-15 -- airport-11 -- airport-15 -- alcohol-shop-11 -- alcohol-shop-15 -- amusement-park-11 -- amusement-park-15 -- aquarium-11 -- aquarium-15 -- art-gallery-11 -- art-gallery-15 -- attraction-11 -- attraction-15 -- bakery-11 -- bakery-15 -- bank-11 -- bank-15 -- bar-11 -- bar-15 -- beer-11 -- beer-15 -- bicycle-11 -- bicycle-15 -- bicycle-share-11 -- bicycle-share-15 -- bus-11 -- bus-15 -- cafe-11 -- cafe-15 -- campsite-11 -- campsite-15 -- car-11 -- car-15 -- castle-11 -- castle-15 -- cemetery-11 -- cemetery-15 -- cinema-11 -- cinema-15 -- circle-11 -- circle-15 -- circle-stroked-11 -- circle-stroked-15 -- clothing-store-11 -- clothing-store-15 -- college-11 -- college-15 -- dentist-11 -- dentist-15 -- doctor-11 -- doctor-15 -- dog-park-11 -- dog-park-15 -- drinking-water-11 -- drinking-water-15 -- embassy-11 -- embassy-15 -- entrance-11 -- entrance-15 -- fast-food-11 -- fast-food-15 -- ferry-11 -- ferry-15 -- fire-station-11 -- fire-station-15 -- fuel-11 -- fuel-15 -- garden-11 -- garden-15 -- golf-11 -- golf-15 -- grocery-11 -- grocery-15 -- harbor-11 -- harbor-15 -- heliport-11 -- heliport-15 -- hospital-11 -- hospital-15 -- ice-cream-11 -- ice-cream-15 -- information-11 -- information-15 -- laundry-11 -- laundry-15 -- library-11 -- library-15 -- lodging-11 -- lodging-15 -- monument-11 -- monument-15 -- mountain-11 -- mountain-15 -- museum-11 -- museum-15 -- music-11 -- music-15 -- park-11 -- park-15 -- pharmacy-11 -- pharmacy-15 -- picnic-site-11 -- picnic-site-15 -- place-of-worship-11 -- place-of-worship-15 -- playground-11 -- playground-15 -- police-11 -- police-15 -- post-11 -- post-15 -- prison-11 -- prison-15 -- rail-11 -- rail-15 -- rail-light-11 -- rail-light-15 -- rail-metro-11 -- rail-metro-15 -- religious-christian-11 -- religious-christian-15 -- religious-jewish-11 -- religious-jewish-15 -- religious-muslim-11 -- religious-muslim-15 -- restaurant-11 -- restaurant-15 -- rocket-11 -- rocket-15 -- school-11 -- school-15 -- shop-11 -- shop-15 -- stadium-11 -- stadium-15 -- star-11 -- star-15 -- suitcase-11 -- suitcase-15 -- swimming-11 -- swimming-15 -- theatre-11 -- theatre-15 -- toilet-11 -- toilet-15 -- town-hall-11 -- town-hall-15 -- triangle-11 -- triangle-15 -- triangle-stroked-11 -- triangle-stroked-15 -- veterinary-11 -- veterinary-15 -- volcano-11 -- volcano-15 -- zoo-11 -- zoo-15 - ## Usage The preferred way to use these styles in Mapbox GL JS or the Mapbox Mobile SDKs is via a `mapbox://` URL. @@ -247,3 +82,168 @@ mapView = [[MGLMapView alloc] initWithFrame:self.view.bounds MapView mMapView = new MapView(context, "Access Token"); mMapView.setStyleUrl(Style.MAPBOX_STREETS); ``` + +## Standard icons + +All styles except Empty include [these sprite images](https://github.com/mapbox/maki/blob/master/layouts/streets.json) from the Maki project. + +When you use an icon in a style, you must specify the icons size as a suffix to its name. Supported size suffixes are `-11` and `-15`, representing an 11px and a 15px square respectively. For example, a 15px airfield icon would be specified as `"icon-image": "airfield-15"`. + +- `airfield-11` +- `airfield-15` +- `airport-11` +- `airport-15` +- `alcohol-shop-11` +- `alcohol-shop-15` +- `aquarium-11` +- `aquarium-15` +- `art-gallery-11` +- `art-gallery-15` +- `attraction-11` +- `attraction-15` +- `bakery-11` +- `bakery-15` +- `bank-11` +- `bank-15` +- `bar-11` +- `bar-15` +- `beer-11` +- `beer-15` +- `bicycle-11` +- `bicycle-15` +- `bicycle-share-11` +- `bicycle-share-15` +- `bus-11` +- `bus-15` +- `cafe-11` +- `cafe-15` +- `campsite-11` +- `campsite-15` +- `car-11` +- `car-15` +- `castle-11` +- `castle-15` +- `cemetery-11` +- `cemetery-15` +- `cinema-11` +- `cinema-15` +- `circle-11` +- `circle-15` +- `college-11` +- `college-15` +- `dentist-11` +- `dentist-15` +- `doctor-11` +- `doctor-15` +- `dog-park-11` +- `dog-park-15` +- `embassy-11` +- `embassy-15` +- `entrance-11` +- `entrance-15` +- `fast-food-11` +- `fast-food-15` +- `ferry-11` +- `ferry-15` +- `fire-station-11` +- `fire-station-15` +- `fuel-11` +- `fuel-15` +- `garden-11` +- `garden-15` +- `golf-11` +- `golf-15` +- `grocery-11` +- `grocery-15` +- `harbor-11` +- `harbor-15` +- `heliport-11` +- `heliport-15` +- `hospital-11` +- `hospital-15` +- `ice-cream-11` +- `ice-cream-15` +- `information-11` +- `information-15` +- `laundry-11` +- `laundry-15` +- `library-11` +- `library-15` +- `lodging-11` +- `lodging-15` +- `monument-11` +- `monument-15` +- `mountain-11` +- `mountain-15` +- `museum-11` +- `museum-15` +- `music-11` +- `music-15` +- `park-11` +- `park-15` +- `pharmacy-11` +- `pharmacy-15` +- `picnic-site-11` +- `picnic-site-15` +- `playground-11` +- `playground-15` +- `police-11` +- `police-15` +- `post-11` +- `post-15` +- `prison-11` +- `prison-15` +- `rail-11` +- `rail-15` +- `rail-light-11` +- `rail-light-15` +- `rail-metro-11` +- `rail-metro-15` +- `restaurant-11` +- `restaurant-15` +- `rocket-11` +- `rocket-15` +- `school-11` +- `school-15` +- `shop-11` +- `shop-15` +- `stadium-11` +- `stadium-15` +- `star-11` +- `star-15` +- `suitcase-11` +- `suitcase-15` +- `swimming-11` +- `swimming-15` +- `theatre-11` +- `theatre-15` +- `toilet-11` +- `toilet-15` +- `town-hall-11` +- `town-hall-15` +- `triangle-11` +- `triangle-15` +- `veterinary-11` +- `veterinary-15` +- `volcano-11` +- `volcano-15` +- `zoo-11` +- `zoo-15` From 3d24bf64e1112a9085255fb57ead81e1242282f2 Mon Sep 17 00:00:00 2001 From: Lucas Wojciechowski Date: Fri, 22 Jul 2016 11:11:06 -0400 Subject: [PATCH 3/9] Design tweaks --- README.md | 332 +++++++++++++++++++++++++++--------------------------- 1 file changed, 167 insertions(+), 165 deletions(-) diff --git a/README.md b/README.md index 799f8315..c2cfaf7a 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,173 @@ A beautiful global satellite and aerial imagery layer. A blank slate. Build your own map from the ground up. +## Standard icons + +All styles except Empty include [these sprite images](https://github.com/mapbox/maki/blob/master/layouts/streets.json) from the Maki project. + +When you use an icon in a style, you must specify the icons size as a suffix to its name. Supported size suffixes are `-11` and `-15`, representing an 11px and a 15px square respectively. For example, a 15px airfield icon would be specified as `"icon-image": "airfield-15"`. + +| | icon name | +|--- | --------- | +| | `airfield-11` | +| | `airfield-15` | +| | `airport-11` | +| | `airport-15` | +| | `alcohol-shop-11` | +| | `alcohol-shop-15` | +| | `amusement-park-11` | +| | `amusement-park-15` | +| | `aquarium-11` | +| | `aquarium-15` | +| | `art-gallery-11` | +| | `art-gallery-15` | +| | `attraction-11` | +| | `attraction-15` | +| | `bakery-11` | +| | `bakery-15` | +| | `bank-11` | +| | `bank-15` | +| | `bar-11` | +| | `bar-15` | +| | `beer-11` | +| | `beer-15` | +| | `bicycle-11` | +| | `bicycle-15` | +| | `bicycle-share-11` | +| | `bicycle-share-15` | +| | `bus-11` | +| | `bus-15` | +| | `cafe-11` | +| | `cafe-15` | +| | `campsite-11` | +| | `campsite-15` | +| | `car-11` | +| | `car-15` | +| | `castle-11` | +| | `castle-15` | +| | `cemetery-11` | +| | `cemetery-15` | +| | `cinema-11` | +| | `cinema-15` | +| | `circle-11` | +| | `circle-15` | +| | `circle-stroked-11` | +| | `circle-stroked-15` | +| | `clothing-store-11` | +| | `clothing-store-15` | +| | `college-11` | +| | `college-15` | +| | `dentist-11` | +| | `dentist-15` | +| | `doctor-11` | +| | `doctor-15` | +| | `dog-park-11` | +| | `dog-park-15` | +| | `drinking-water-11` | +| | `drinking-water-15` | +| | `embassy-11` | +| | `embassy-15` | +| | `entrance-11` | +| | `entrance-15` | +| | `fast-food-11` | +| | `fast-food-15` | +| | `ferry-11` | +| | `ferry-15` | +| | `fire-station-11` | +| | `fire-station-15` | +| | `fuel-11` | +| | `fuel-15` | +| | `garden-11` | +| | `garden-15` | +| | `golf-11` | +| | `golf-15` | +| | `grocery-11` | +| | `grocery-15` | +| | `harbor-11` | +| | `harbor-15` | +| | `heliport-11` | +| | `heliport-15` | +| | `hospital-11` | +| | `hospital-15` | +| | `ice-cream-11` | +| | `ice-cream-15` | +| | `information-11` | +| | `information-15` | +| | `laundry-11` | +| | `laundry-15` | +| | `library-11` | +| | `library-15` | +| | `lodging-11` | +| | `lodging-15` | +| | `monument-11` | +| | `monument-15` | +| | `mountain-11` | +| | `mountain-15` | +| | `museum-11` | +| | `museum-15` | +| | `music-11` | +| | `music-15` | +| | `park-11` | +| | `park-15` | +| | `pharmacy-11` | +| | `pharmacy-15` | +| | `picnic-site-11` | +| | `picnic-site-15` | +| | `place-of-worship-11` | +| | `place-of-worship-15` | +| | `playground-11` | +| | `playground-15` | +| | `police-11` | +| | `police-15` | +| | `post-11` | +| | `post-15` | +| | `prison-11` | +| | `prison-15` | +| | `rail-11` | +| | `rail-15` | +| | `rail-light-11` | +| | `rail-light-15` | +| | `rail-metro-11` | +| | `rail-metro-15` | +| | `religious-christian-11` | +| | `religious-christian-15` | +| | `religious-jewish-11` | +| | `religious-jewish-15` | +| | `religious-muslim-11` | +| | `religious-muslim-15` | +| | `restaurant-11` | +| | `restaurant-15` | +| | `rocket-11` | +| | `rocket-15` | +| | `school-11` | +| | `school-15` | +| | `shop-11` | +| | `shop-15` | +| | `stadium-11` | +| | `stadium-15` | +| | `star-11` | +| | `star-15` | +| | `suitcase-11` | +| | `suitcase-15` | +| | `swimming-11` | +| | `swimming-15` | +| | `theatre-11` | +| | `theatre-15` | +| | `toilet-11` | +| | `toilet-15` | +| | `town-hall-11` | +| | `town-hall-15` | +| | `triangle-11` | +| | `triangle-15` | +| | `triangle-stroked-11` | +| | `triangle-stroked-15` | +| | `veterinary-11` | +| | `veterinary-15` | +| | `volcano-11` | +| | `volcano-15` | +| | `zoo-11` | +| | `zoo-15` | + ## Usage The preferred way to use these styles in Mapbox GL JS or the Mapbox Mobile SDKs is via a `mapbox://` URL. @@ -82,168 +249,3 @@ mapView = [[MGLMapView alloc] initWithFrame:self.view.bounds MapView mMapView = new MapView(context, "Access Token"); mMapView.setStyleUrl(Style.MAPBOX_STREETS); ``` - -## Standard icons - -All styles except Empty include [these sprite images](https://github.com/mapbox/maki/blob/master/layouts/streets.json) from the Maki project. - -When you use an icon in a style, you must specify the icons size as a suffix to its name. Supported size suffixes are `-11` and `-15`, representing an 11px and a 15px square respectively. For example, a 15px airfield icon would be specified as `"icon-image": "airfield-15"`. - -- `airfield-11` -- `airfield-15` -- `airport-11` -- `airport-15` -- `alcohol-shop-11` -- `alcohol-shop-15` -- `aquarium-11` -- `aquarium-15` -- `art-gallery-11` -- `art-gallery-15` -- `attraction-11` -- `attraction-15` -- `bakery-11` -- `bakery-15` -- `bank-11` -- `bank-15` -- `bar-11` -- `bar-15` -- `beer-11` -- `beer-15` -- `bicycle-11` -- `bicycle-15` -- `bicycle-share-11` -- `bicycle-share-15` -- `bus-11` -- `bus-15` -- `cafe-11` -- `cafe-15` -- `campsite-11` -- `campsite-15` -- `car-11` -- `car-15` -- `castle-11` -- `castle-15` -- `cemetery-11` -- `cemetery-15` -- `cinema-11` -- `cinema-15` -- `circle-11` -- `circle-15` -- `college-11` -- `college-15` -- `dentist-11` -- `dentist-15` -- `doctor-11` -- `doctor-15` -- `dog-park-11` -- `dog-park-15` -- `embassy-11` -- `embassy-15` -- `entrance-11` -- `entrance-15` -- `fast-food-11` -- `fast-food-15` -- `ferry-11` -- `ferry-15` -- `fire-station-11` -- `fire-station-15` -- `fuel-11` -- `fuel-15` -- `garden-11` -- `garden-15` -- `golf-11` -- `golf-15` -- `grocery-11` -- `grocery-15` -- `harbor-11` -- `harbor-15` -- `heliport-11` -- `heliport-15` -- `hospital-11` -- `hospital-15` -- `ice-cream-11` -- `ice-cream-15` -- `information-11` -- `information-15` -- `laundry-11` -- `laundry-15` -- `library-11` -- `library-15` -- `lodging-11` -- `lodging-15` -- `monument-11` -- `monument-15` -- `mountain-11` -- `mountain-15` -- `museum-11` -- `museum-15` -- `music-11` -- `music-15` -- `park-11` -- `park-15` -- `pharmacy-11` -- `pharmacy-15` -- `picnic-site-11` -- `picnic-site-15` -- `playground-11` -- `playground-15` -- `police-11` -- `police-15` -- `post-11` -- `post-15` -- `prison-11` -- `prison-15` -- `rail-11` -- `rail-15` -- `rail-light-11` -- `rail-light-15` -- `rail-metro-11` -- `rail-metro-15` -- `restaurant-11` -- `restaurant-15` -- `rocket-11` -- `rocket-15` -- `school-11` -- `school-15` -- `shop-11` -- `shop-15` -- `stadium-11` -- `stadium-15` -- `star-11` -- `star-15` -- `suitcase-11` -- `suitcase-15` -- `swimming-11` -- `swimming-15` -- `theatre-11` -- `theatre-15` -- `toilet-11` -- `toilet-15` -- `town-hall-11` -- `town-hall-15` -- `triangle-11` -- `triangle-15` -- `veterinary-11` -- `veterinary-15` -- `volcano-11` -- `volcano-15` -- `zoo-11` -- `zoo-15` From f4644b0837e8564646566ed3dccd560c4fe75f6b Mon Sep 17 00:00:00 2001 From: Lucas Wojciechowski Date: Fri, 22 Jul 2016 11:19:27 -0400 Subject: [PATCH 4/9] Design tweaks --- README.md | 316 +++++++++++++++++++++++++++--------------------------- 1 file changed, 158 insertions(+), 158 deletions(-) diff --git a/README.md b/README.md index c2cfaf7a..70f5bfe2 100644 --- a/README.md +++ b/README.md @@ -54,164 +54,164 @@ When you use an icon in a style, you must specify the icons size as a suffix to | | icon name | |--- | --------- | -| | `airfield-11` | -| | `airfield-15` | -| | `airport-11` | -| | `airport-15` | -| | `alcohol-shop-11` | -| | `alcohol-shop-15` | -| | `amusement-park-11` | -| | `amusement-park-15` | -| | `aquarium-11` | -| | `aquarium-15` | -| | `art-gallery-11` | -| | `art-gallery-15` | -| | `attraction-11` | -| | `attraction-15` | -| | `bakery-11` | -| | `bakery-15` | -| | `bank-11` | -| | `bank-15` | -| | `bar-11` | -| | `bar-15` | -| | `beer-11` | -| | `beer-15` | -| | `bicycle-11` | -| | `bicycle-15` | -| | `bicycle-share-11` | -| | `bicycle-share-15` | -| | `bus-11` | -| | `bus-15` | -| | `cafe-11` | -| | `cafe-15` | -| | `campsite-11` | -| | `campsite-15` | -| | `car-11` | -| | `car-15` | -| | `castle-11` | -| | `castle-15` | -| | `cemetery-11` | -| | `cemetery-15` | -| | `cinema-11` | -| | `cinema-15` | -| | `circle-11` | -| | `circle-15` | -| | `circle-stroked-11` | -| | `circle-stroked-15` | -| | `clothing-store-11` | -| | `clothing-store-15` | -| | `college-11` | -| | `college-15` | -| | `dentist-11` | -| | `dentist-15` | -| | `doctor-11` | -| | `doctor-15` | -| | `dog-park-11` | -| | `dog-park-15` | -| | `drinking-water-11` | -| | `drinking-water-15` | -| | `embassy-11` | -| | `embassy-15` | -| | `entrance-11` | -| | `entrance-15` | -| | `fast-food-11` | -| | `fast-food-15` | -| | `ferry-11` | -| | `ferry-15` | -| | `fire-station-11` | -| | `fire-station-15` | -| | `fuel-11` | -| | `fuel-15` | -| | `garden-11` | -| | `garden-15` | -| | `golf-11` | -| | `golf-15` | -| | `grocery-11` | -| | `grocery-15` | -| | `harbor-11` | -| | `harbor-15` | -| | `heliport-11` | -| | `heliport-15` | -| | `hospital-11` | -| | `hospital-15` | -| | `ice-cream-11` | -| | `ice-cream-15` | -| | `information-11` | -| | `information-15` | -| | `laundry-11` | -| | `laundry-15` | -| | `library-11` | -| | `library-15` | -| | `lodging-11` | -| | `lodging-15` | -| | `monument-11` | -| | `monument-15` | -| | `mountain-11` | -| | `mountain-15` | -| | `museum-11` | -| | `museum-15` | -| | `music-11` | -| | `music-15` | -| | `park-11` | -| | `park-15` | -| | `pharmacy-11` | -| | `pharmacy-15` | -| | `picnic-site-11` | -| | `picnic-site-15` | -| | `place-of-worship-11` | -| | `place-of-worship-15` | -| | `playground-11` | -| | `playground-15` | -| | `police-11` | -| | `police-15` | -| | `post-11` | -| | `post-15` | -| | `prison-11` | -| | `prison-15` | -| | `rail-11` | -| | `rail-15` | -| | `rail-light-11` | -| | `rail-light-15` | -| | `rail-metro-11` | -| | `rail-metro-15` | -| | `religious-christian-11` | -| | `religious-christian-15` | -| | `religious-jewish-11` | -| | `religious-jewish-15` | -| | `religious-muslim-11` | -| | `religious-muslim-15` | -| | `restaurant-11` | -| | `restaurant-15` | -| | `rocket-11` | -| | `rocket-15` | -| | `school-11` | -| | `school-15` | -| | `shop-11` | -| | `shop-15` | -| | `stadium-11` | -| | `stadium-15` | -| | `star-11` | -| | `star-15` | -| | `suitcase-11` | -| | `suitcase-15` | -| | `swimming-11` | -| | `swimming-15` | -| | `theatre-11` | -| | `theatre-15` | -| | `toilet-11` | -| | `toilet-15` | -| | `town-hall-11` | -| | `town-hall-15` | -| | `triangle-11` | -| | `triangle-15` | -| | `triangle-stroked-11` | -| | `triangle-stroked-15` | -| | `veterinary-11` | -| | `veterinary-15` | -| | `volcano-11` | -| | `volcano-15` | -| | `zoo-11` | -| | `zoo-15` | +| | `airfield-11` | +| | `airfield-15` | +| | `airport-11` | +| | `airport-15` | +| | `alcohol-shop-11` | +| | `alcohol-shop-15` | +| | `amusement-park-11` | +| | `amusement-park-15` | +| | `aquarium-11` | +| | `aquarium-15` | +| | `art-gallery-11` | +| | `art-gallery-15` | +| | `attraction-11` | +| | `attraction-15` | +| | `bakery-11` | +| | `bakery-15` | +| | `bank-11` | +| | `bank-15` | +| | `bar-11` | +| | `bar-15` | +| | `beer-11` | +| | `beer-15` | +| | `bicycle-11` | +| | `bicycle-15` | +| | `bicycle-share-11` | +| | `bicycle-share-15` | +| | `bus-11` | +| | `bus-15` | +| | `cafe-11` | +| | `cafe-15` | +| | `campsite-11` | +| | `campsite-15` | +| | `car-11` | +| | `car-15` | +| | `castle-11` | +| | `castle-15` | +| | `cemetery-11` | +| | `cemetery-15` | +| | `cinema-11` | +| | `cinema-15` | +| | `circle-11` | +| | `circle-15` | +| | `circle-stroked-11` | +| | `circle-stroked-15` | +| | `clothing-store-11` | +| | `clothing-store-15` | +| | `college-11` | +| | `college-15` | +| | `dentist-11` | +| | `dentist-15` | +| | `doctor-11` | +| | `doctor-15` | +| | `dog-park-11` | +| | `dog-park-15` | +| | `drinking-water-11` | +| | `drinking-water-15` | +| | `embassy-11` | +| | `embassy-15` | +| | `entrance-11` | +| | `entrance-15` | +| | `fast-food-11` | +| | `fast-food-15` | +| | `ferry-11` | +| | `ferry-15` | +| | `fire-station-11` | +| | `fire-station-15` | +| | `fuel-11` | +| | `fuel-15` | +| | `garden-11` | +| | `garden-15` | +| | `golf-11` | +| | `golf-15` | +| | `grocery-11` | +| | `grocery-15` | +| | `harbor-11` | +| | `harbor-15` | +| | `heliport-11` | +| | `heliport-15` | +| | `hospital-11` | +| | `hospital-15` | +| | `ice-cream-11` | +| | `ice-cream-15` | +| | `information-11` | +| | `information-15` | +| | `laundry-11` | +| | `laundry-15` | +| | `library-11` | +| | `library-15` | +| | `lodging-11` | +| | `lodging-15` | +| | `monument-11` | +| | `monument-15` | +| | `mountain-11` | +| | `mountain-15` | +| | `museum-11` | +| | `museum-15` | +| | `music-11` | +| | `music-15` | +| | `park-11` | +| | `park-15` | +| | `pharmacy-11` | +| | `pharmacy-15` | +| | `picnic-site-11` | +| | `picnic-site-15` | +| | `place-of-worship-11` | +| | `place-of-worship-15` | +| | `playground-11` | +| | `playground-15` | +| | `police-11` | +| | `police-15` | +| | `post-11` | +| | `post-15` | +| | `prison-11` | +| | `prison-15` | +| | `rail-11` | +| | `rail-15` | +| | `rail-light-11` | +| | `rail-light-15` | +| | `rail-metro-11` | +| | `rail-metro-15` | +| | `religious-christian-11` | +| | `religious-christian-15` | +| | `religious-jewish-11` | +| | `religious-jewish-15` | +| | `religious-muslim-11` | +| | `religious-muslim-15` | +| | `restaurant-11` | +| | `restaurant-15` | +| | `rocket-11` | +| | `rocket-15` | +| | `school-11` | +| | `school-15` | +| | `shop-11` | +| | `shop-15` | +| | `stadium-11` | +| | `stadium-15` | +| | `star-11` | +| | `star-15` | +| | `suitcase-11` | +| | `suitcase-15` | +| | `swimming-11` | +| | `swimming-15` | +| | `theatre-11` | +| | `theatre-15` | +| | `toilet-11` | +| | `toilet-15` | +| | `town-hall-11` | +| | `town-hall-15` | +| | `triangle-11` | +| | `triangle-15` | +| | `triangle-stroked-11` | +| | `triangle-stroked-15` | +| | `veterinary-11` | +| | `veterinary-15` | +| | `volcano-11` | +| | `volcano-15` | +| | `zoo-11` | +| | `zoo-15` | ## Usage From 57304ba077b747bbf5e3dbd156803abb58c054a9 Mon Sep 17 00:00:00 2001 From: Lucas Wojciechowski Date: Fri, 22 Jul 2016 11:35:44 -0400 Subject: [PATCH 5/9] Design tweaks --- README.md | 247 ++++++++++++++++++------------------------------------ 1 file changed, 83 insertions(+), 164 deletions(-) diff --git a/README.md b/README.md index 70f5bfe2..dce683d9 100644 --- a/README.md +++ b/README.md @@ -48,170 +48,89 @@ A blank slate. Build your own map from the ground up. ## Standard icons -All styles except Empty include [these sprite images](https://github.com/mapbox/maki/blob/master/layouts/streets.json) from the Maki project. - -When you use an icon in a style, you must specify the icons size as a suffix to its name. Supported size suffixes are `-11` and `-15`, representing an 11px and a 15px square respectively. For example, a 15px airfield icon would be specified as `"icon-image": "airfield-15"`. - -| | icon name | -|--- | --------- | -| | `airfield-11` | -| | `airfield-15` | -| | `airport-11` | -| | `airport-15` | -| | `alcohol-shop-11` | -| | `alcohol-shop-15` | -| | `amusement-park-11` | -| | `amusement-park-15` | -| | `aquarium-11` | -| | `aquarium-15` | -| | `art-gallery-11` | -| | `art-gallery-15` | -| | `attraction-11` | -| | `attraction-15` | -| | `bakery-11` | -| | `bakery-15` | -| | `bank-11` | -| | `bank-15` | -| | `bar-11` | -| | `bar-15` | -| | `beer-11` | -| | `beer-15` | -| | `bicycle-11` | -| | `bicycle-15` | -| | `bicycle-share-11` | -| | `bicycle-share-15` | -| | `bus-11` | -| | `bus-15` | -| | `cafe-11` | -| | `cafe-15` | -| | `campsite-11` | -| | `campsite-15` | -| | `car-11` | -| | `car-15` | -| | `castle-11` | -| | `castle-15` | -| | `cemetery-11` | -| | `cemetery-15` | -| | `cinema-11` | -| | `cinema-15` | -| | `circle-11` | -| | `circle-15` | -| | `circle-stroked-11` | -| | `circle-stroked-15` | -| | `clothing-store-11` | -| | `clothing-store-15` | -| | `college-11` | -| | `college-15` | -| | `dentist-11` | -| | `dentist-15` | -| | `doctor-11` | -| | `doctor-15` | -| | `dog-park-11` | -| | `dog-park-15` | -| | `drinking-water-11` | -| | `drinking-water-15` | -| | `embassy-11` | -| | `embassy-15` | -| | `entrance-11` | -| | `entrance-15` | -| | `fast-food-11` | -| | `fast-food-15` | -| | `ferry-11` | -| | `ferry-15` | -| | `fire-station-11` | -| | `fire-station-15` | -| | `fuel-11` | -| | `fuel-15` | -| | `garden-11` | -| | `garden-15` | -| | `golf-11` | -| | `golf-15` | -| | `grocery-11` | -| | `grocery-15` | -| | `harbor-11` | -| | `harbor-15` | -| | `heliport-11` | -| | `heliport-15` | -| | `hospital-11` | -| | `hospital-15` | -| | `ice-cream-11` | -| | `ice-cream-15` | -| | `information-11` | -| | `information-15` | -| | `laundry-11` | -| | `laundry-15` | -| | `library-11` | -| | `library-15` | -| | `lodging-11` | -| | `lodging-15` | -| | `monument-11` | -| | `monument-15` | -| | `mountain-11` | -| | `mountain-15` | -| | `museum-11` | -| | `museum-15` | -| | `music-11` | -| | `music-15` | -| | `park-11` | -| | `park-15` | -| | `pharmacy-11` | -| | `pharmacy-15` | -| | `picnic-site-11` | -| | `picnic-site-15` | -| | `place-of-worship-11` | -| | `place-of-worship-15` | -| | `playground-11` | -| | `playground-15` | -| | `police-11` | -| | `police-15` | -| | `post-11` | -| | `post-15` | -| | `prison-11` | -| | `prison-15` | -| | `rail-11` | -| | `rail-15` | -| | `rail-light-11` | -| | `rail-light-15` | -| | `rail-metro-11` | -| | `rail-metro-15` | -| | `religious-christian-11` | -| | `religious-christian-15` | -| | `religious-jewish-11` | -| | `religious-jewish-15` | -| | `religious-muslim-11` | -| | `religious-muslim-15` | -| | `restaurant-11` | -| | `restaurant-15` | -| | `rocket-11` | -| | `rocket-15` | -| | `school-11` | -| | `school-15` | -| | `shop-11` | -| | `shop-15` | -| | `stadium-11` | -| | `stadium-15` | -| | `star-11` | -| | `star-15` | -| | `suitcase-11` | -| | `suitcase-15` | -| | `swimming-11` | -| | `swimming-15` | -| | `theatre-11` | -| | `theatre-15` | -| | `toilet-11` | -| | `toilet-15` | -| | `town-hall-11` | -| | `town-hall-15` | -| | `triangle-11` | -| | `triangle-15` | -| | `triangle-stroked-11` | -| | `triangle-stroked-15` | -| | `veterinary-11` | -| | `veterinary-15` | -| | `volcano-11` | -| | `volcano-15` | -| | `zoo-11` | -| | `zoo-15` | +All styles (except Empty) include a standard set of [Maki](https://github.com/mapbox/maki) icons. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
`airfield-11``airfield-15`
`airport-11``airport-15`
`alcohol-shop-11``alcohol-shop-15`
`amusement-park-11``amusement-park-15`
`aquarium-11``aquarium-15`
`art-gallery-11``art-gallery-15`
`attraction-11``attraction-15`
`bakery-11``bakery-15`
`bank-11``bank-15`
`bar-11``bar-15`
`beer-11``beer-15`
`bicycle-11``bicycle-15`
`bicycle-share-11``bicycle-share-15`
`bus-11``bus-15`
`cafe-11``cafe-15`
`campsite-11``campsite-15`
`car-11``car-15`
`castle-11``castle-15`
`cemetery-11``cemetery-15`
`cinema-11``cinema-15`
`circle-11``circle-15`
`circle-stroked-11``circle-stroked-15`
`clothing-store-11``clothing-store-15`
`college-11``college-15`
`dentist-11``dentist-15`
`doctor-11``doctor-15`
`dog-park-11``dog-park-15`
`drinking-water-11``drinking-water-15`
`embassy-11``embassy-15`
`entrance-11``entrance-15`
`fast-food-11``fast-food-15`
`ferry-11``ferry-15`
`fire-station-11``fire-station-15`
`fuel-11``fuel-15`
`garden-11``garden-15`
`golf-11``golf-15`
`grocery-11``grocery-15`
`harbor-11``harbor-15`
`heliport-11``heliport-15`
`hospital-11``hospital-15`
`ice-cream-11``ice-cream-15`
`information-11``information-15`
`laundry-11``laundry-15`
`library-11``library-15`
`lodging-11``lodging-15`
`monument-11``monument-15`
`mountain-11``mountain-15`
`museum-11``museum-15`
`music-11``music-15`
`park-11``park-15`
`pharmacy-11``pharmacy-15`
`picnic-site-11``picnic-site-15`
`place-of-worship-11``place-of-worship-15`
`playground-11``playground-15`
`police-11``police-15`
`post-11``post-15`
`prison-11``prison-15`
`rail-11``rail-15`
`rail-light-11``rail-light-15`
`rail-metro-11``rail-metro-15`
`religious-christian-11``religious-christian-15`
`religious-jewish-11``religious-jewish-15`
`religious-muslim-11``religious-muslim-15`
`restaurant-11``restaurant-15`
`rocket-11``rocket-15`
`school-11``school-15`
`shop-11``shop-15`
`stadium-11``stadium-15`
`star-11``star-15`
`suitcase-11``suitcase-15`
`swimming-11``swimming-15`
`theatre-11``theatre-15`
`toilet-11``toilet-15`
`town-hall-11``town-hall-15`
`triangle-11``triangle-15`
`triangle-stroked-11``triangle-stroked-15`
`veterinary-11``veterinary-15`
`volcano-11``volcano-15`
`zoo-11``zoo-15`
## Usage From aadf7fffa3d9558f829202565d1322c64d0137a6 Mon Sep 17 00:00:00 2001 From: Lucas Wojciechowski Date: Fri, 22 Jul 2016 11:37:02 -0400 Subject: [PATCH 6/9] Design tweaks --- README.md | 158 +++++++++++++++++++++++++++--------------------------- 1 file changed, 79 insertions(+), 79 deletions(-) diff --git a/README.md b/README.md index dce683d9..fffdf9d2 100644 --- a/README.md +++ b/README.md @@ -51,85 +51,85 @@ A blank slate. Build your own map from the ground up. All styles (except Empty) include a standard set of [Maki](https://github.com/mapbox/maki) icons. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
`airfield-11``airfield-15`
`airport-11``airport-15`
`alcohol-shop-11``alcohol-shop-15`
`amusement-park-11``amusement-park-15`
`aquarium-11``aquarium-15`
`art-gallery-11``art-gallery-15`
`attraction-11``attraction-15`
`bakery-11``bakery-15`
`bank-11``bank-15`
`bar-11``bar-15`
`beer-11``beer-15`
`bicycle-11``bicycle-15`
`bicycle-share-11``bicycle-share-15`
`bus-11``bus-15`
`cafe-11``cafe-15`
`campsite-11``campsite-15`
`car-11``car-15`
`castle-11``castle-15`
`cemetery-11``cemetery-15`
`cinema-11``cinema-15`
`circle-11``circle-15`
`circle-stroked-11``circle-stroked-15`
`clothing-store-11``clothing-store-15`
`college-11``college-15`
`dentist-11``dentist-15`
`doctor-11``doctor-15`
`dog-park-11``dog-park-15`
`drinking-water-11``drinking-water-15`
`embassy-11``embassy-15`
`entrance-11``entrance-15`
`fast-food-11``fast-food-15`
`ferry-11``ferry-15`
`fire-station-11``fire-station-15`
`fuel-11``fuel-15`
`garden-11``garden-15`
`golf-11``golf-15`
`grocery-11``grocery-15`
`harbor-11``harbor-15`
`heliport-11``heliport-15`
`hospital-11``hospital-15`
`ice-cream-11``ice-cream-15`
`information-11``information-15`
`laundry-11``laundry-15`
`library-11``library-15`
`lodging-11``lodging-15`
`monument-11``monument-15`
`mountain-11``mountain-15`
`museum-11``museum-15`
`music-11``music-15`
`park-11``park-15`
`pharmacy-11``pharmacy-15`
`picnic-site-11``picnic-site-15`
`place-of-worship-11``place-of-worship-15`
`playground-11``playground-15`
`police-11``police-15`
`post-11``post-15`
`prison-11``prison-15`
`rail-11``rail-15`
`rail-light-11``rail-light-15`
`rail-metro-11``rail-metro-15`
`religious-christian-11``religious-christian-15`
`religious-jewish-11``religious-jewish-15`
`religious-muslim-11``religious-muslim-15`
`restaurant-11``restaurant-15`
`rocket-11``rocket-15`
`school-11``school-15`
`shop-11``shop-15`
`stadium-11``stadium-15`
`star-11``star-15`
`suitcase-11``suitcase-15`
`swimming-11``swimming-15`
`theatre-11``theatre-15`
`toilet-11``toilet-15`
`town-hall-11``town-hall-15`
`triangle-11``triangle-15`
`triangle-stroked-11``triangle-stroked-15`
`veterinary-11``veterinary-15`
`volcano-11``volcano-15`
`zoo-11``zoo-15`
airfield-11airfield-15
airport-11airport-15
alcohol-shop-11alcohol-shop-15
amusement-park-11amusement-park-15
aquarium-11aquarium-15
art-gallery-11art-gallery-15
attraction-11attraction-15
bakery-11bakery-15
bank-11bank-15
bar-11bar-15
beer-11beer-15
bicycle-11bicycle-15
bicycle-share-11bicycle-share-15
bus-11bus-15
cafe-11cafe-15
campsite-11campsite-15
car-11car-15
castle-11castle-15
cemetery-11cemetery-15
cinema-11cinema-15
circle-11circle-15
circle-stroked-11circle-stroked-15
clothing-store-11clothing-store-15
college-11college-15
dentist-11dentist-15
doctor-11doctor-15
dog-park-11dog-park-15
drinking-water-11drinking-water-15
embassy-11embassy-15
entrance-11entrance-15
fast-food-11fast-food-15
ferry-11ferry-15
fire-station-11fire-station-15
fuel-11fuel-15
garden-11garden-15
golf-11golf-15
grocery-11grocery-15
harbor-11harbor-15
heliport-11heliport-15
hospital-11hospital-15
ice-cream-11ice-cream-15
information-11information-15
laundry-11laundry-15
library-11library-15
lodging-11lodging-15
monument-11monument-15
mountain-11mountain-15
museum-11museum-15
music-11music-15
park-11park-15
pharmacy-11pharmacy-15
picnic-site-11picnic-site-15
place-of-worship-11place-of-worship-15
playground-11playground-15
police-11police-15
post-11post-15
prison-11prison-15
rail-11rail-15
rail-light-11rail-light-15
rail-metro-11rail-metro-15
religious-christian-11religious-christian-15
religious-jewish-11religious-jewish-15
religious-muslim-11religious-muslim-15
restaurant-11restaurant-15
rocket-11rocket-15
school-11school-15
shop-11shop-15
stadium-11stadium-15
star-11star-15
suitcase-11suitcase-15
swimming-11swimming-15
theatre-11theatre-15
toilet-11toilet-15
town-hall-11town-hall-15
triangle-11triangle-15
triangle-stroked-11triangle-stroked-15
veterinary-11veterinary-15
volcano-11volcano-15
zoo-11zoo-15
## Usage From ff6aea25f2a92a1b551628f1dc2cb47d2016c92f Mon Sep 17 00:00:00 2001 From: Lucas Wojciechowski Date: Fri, 22 Jul 2016 11:38:07 -0400 Subject: [PATCH 7/9] design tweaks --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fffdf9d2..ebdec369 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ A blank slate. Build your own map from the ground up. ## Standard icons -All styles (except Empty) include a standard set of [Maki](https://github.com/mapbox/maki) icons. +All styles (except Empty) include a standard set of [Maki](https://github.com/mapbox/maki) icons: From 20f78afbf6c35f5b4f61d42c56c534d674ff21db Mon Sep 17 00:00:00 2001 From: Lucas Wojciechowski Date: Fri, 22 Jul 2016 12:33:53 -0400 Subject: [PATCH 8/9] Add a script to generate icon reference table --- README.md | 677 +++++++++++++++++++++++++++++++++++----- generate_icons_table.js | 20 ++ package.json | 1 + 3 files changed, 619 insertions(+), 79 deletions(-) create mode 100644 generate_icons_table.js diff --git a/README.md b/README.md index ebdec369..b1104868 100644 --- a/README.md +++ b/README.md @@ -51,87 +51,606 @@ A blank slate. Build your own map from the ground up. All styles (except Empty) include a standard set of [Maki](https://github.com/mapbox/maki) icons:
airfield-11airfield-15
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
airfield-11airfield-15
airport-11airport-15
alcohol-shop-11alcohol-shop-15
amusement-park-11amusement-park-15
aquarium-11aquarium-15
art-gallery-11art-gallery-15
attraction-11attraction-15
bakery-11bakery-15
bank-11bank-15
bar-11bar-15
beer-11beer-15
bicycle-11bicycle-15
bicycle-share-11bicycle-share-15
bus-11bus-15
cafe-11cafe-15
campsite-11campsite-15
car-11car-15
castle-11castle-15
cemetery-11cemetery-15
cinema-11cinema-15
circle-11circle-15
circle-stroked-11circle-stroked-15
clothing-store-11clothing-store-15
college-11college-15
dentist-11dentist-15
doctor-11doctor-15
dog-park-11dog-park-15
drinking-water-11drinking-water-15
embassy-11embassy-15
entrance-11entrance-15
fast-food-11fast-food-15
ferry-11ferry-15
fire-station-11fire-station-15
fuel-11fuel-15
garden-11garden-15
golf-11golf-15
grocery-11grocery-15
harbor-11harbor-15
heliport-11heliport-15
hospital-11hospital-15
ice-cream-11ice-cream-15
information-11information-15
laundry-11laundry-15
library-11library-15
lodging-11lodging-15
monument-11monument-15
mountain-11mountain-15
museum-11museum-15
music-11music-15
park-11park-15
pharmacy-11pharmacy-15
picnic-site-11picnic-site-15
place-of-worship-11place-of-worship-15
playground-11playground-15
police-11police-15
post-11post-15
prison-11prison-15
rail-11rail-15
rail-light-11rail-light-15
rail-metro-11rail-metro-15
religious-christian-11religious-christian-15
religious-jewish-11religious-jewish-15
religious-muslim-11religious-muslim-15
restaurant-11restaurant-15
rocket-11rocket-15
school-11school-15
shop-11shop-15
stadium-11stadium-15
star-11star-15
suitcase-11suitcase-15
swimming-11swimming-15
theatre-11theatre-15
toilet-11toilet-15
town-hall-11town-hall-15
triangle-11triangle-15
triangle-stroked-11triangle-stroked-15
veterinary-11veterinary-15
volcano-11volcano-15
zoo-11zoo-15
Airport
airfield-11airfield-15
airport-11airport-15
heliport-11heliport-15
rocket-11rocket-15
Mountain peak
mountain-11mountain-15
volcano-11volcano-15
Dining
bakery-11bakery-15
bar-11bar-15
beer-11beer-15
cafe-11cafe-15
fast-food-11fast-food-15
ice-cream-11ice-cream-15
restaurant-11restaurant-15
Education
college-11college-15
school-11school-15
General
alcohol-shop-11alcohol-shop-15
amusement-park-11amusement-park-15
aquarium-11aquarium-15
art-gallery-11art-gallery-15
attraction-11attraction-15
bank-11bank-15
bicycle-11bicycle-15
bicycle-share-11bicycle-share-15
car-11car-15
castle-11castle-15
cinema-11cinema-15
circle-11circle-15
circle-stroked-11circle-stroked-15
clothing-store-11clothing-store-15
drinking-water-11drinking-water-15
embassy-11embassy-15
fire-station-11fire-station-15
fuel-11fuel-15
grocery-11grocery-15
harbor-11harbor-15
information-11information-15
laundry-11laundry-15
library-11library-15
lodging-11lodging-15
marker-11marker-15
monument-11monument-15
museum-11museum-15
music-11music-15
place-of-worship-11place-of-worship-15
police-11police-15
post-11post-15
prison-11prison-15
religious-christian-11religious-christian-15
religious-jewish-11religious-jewish-15
religious-muslim-11religious-muslim-15
shop-11shop-15
stadium-11stadium-15
star-11star-15
suitcase-11suitcase-15
swimming-11swimming-15
theatre-11theatre-15
toilet-11toilet-15
town-hall-11town-hall-15
triangle-11triangle-15
triangle-stroked-11triangle-stroked-15
veterinary-11veterinary-15
Health
dentist-11dentist-15
doctor-11doctor-15
hospital-11hospital-15
pharmacy-11pharmacy-15
Outdoors
campsite-11campsite-15
cemetery-11cemetery-15
dog-park-11dog-park-15
garden-11garden-15
golf-11golf-15
park-11park-15
picnic-site-11picnic-site-15
playground-11playground-15
zoo-11zoo-15
Transit
bus-11bus-15
ferry-11ferry-15
Rail station
entrance-11entrance-15
rail-11rail-15
rail-light-11rail-light-15
rail-metro-11rail-metro-15
+ + ## Usage The preferred way to use these styles in Mapbox GL JS or the Mapbox Mobile SDKs is via a `mapbox://` URL. diff --git a/generate_icons_table.js b/generate_icons_table.js new file mode 100644 index 00000000..04f5c56e --- /dev/null +++ b/generate_icons_table.js @@ -0,0 +1,20 @@ +var icons = require('maki/layouts/streets'); + +console.log('') +for (var i in icons) { + console.log(` + + + `); + for (var j in icons[i]) { + var icon = icons[i][j]; + console.log(` + + + + + + `); + } +} +console.log('
${i}
${icon}-11${icon}-15
') diff --git a/package.json b/package.json index 1c8623e3..d9b1b5c5 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "migrate": "./migrate.sh" }, "devDependencies": { + "maki": "^2.0.5", "mapbox-gl-style-spec": "^8.1.0", "tape": "^4.2.0" }, From acf3d85ff61b1bea482929a6140816062ae23e65 Mon Sep 17 00:00:00 2001 From: Lucas Wojciechowski Date: Fri, 22 Jul 2016 12:37:21 -0400 Subject: [PATCH 9/9] Make table source uglier --- README.md | 687 ++++++---------------------------------- generate_icons_table.js | 25 +- 2 files changed, 103 insertions(+), 609 deletions(-) diff --git a/README.md b/README.md index b1104868..7e05befd 100644 --- a/README.md +++ b/README.md @@ -51,606 +51,97 @@ A blank slate. Build your own map from the ground up. All styles (except Empty) include a standard set of [Maki](https://github.com/mapbox/maki) icons: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Airport
airfield-11airfield-15
airport-11airport-15
heliport-11heliport-15
rocket-11rocket-15
Mountain peak
mountain-11mountain-15
volcano-11volcano-15
Dining
bakery-11bakery-15
bar-11bar-15
beer-11beer-15
cafe-11cafe-15
fast-food-11fast-food-15
ice-cream-11ice-cream-15
restaurant-11restaurant-15
Education
college-11college-15
school-11school-15
General
alcohol-shop-11alcohol-shop-15
amusement-park-11amusement-park-15
aquarium-11aquarium-15
art-gallery-11art-gallery-15
attraction-11attraction-15
bank-11bank-15
bicycle-11bicycle-15
bicycle-share-11bicycle-share-15
car-11car-15
castle-11castle-15
cinema-11cinema-15
circle-11circle-15
circle-stroked-11circle-stroked-15
clothing-store-11clothing-store-15
drinking-water-11drinking-water-15
embassy-11embassy-15
fire-station-11fire-station-15
fuel-11fuel-15
grocery-11grocery-15
harbor-11harbor-15
information-11information-15
laundry-11laundry-15
library-11library-15
lodging-11lodging-15
marker-11marker-15
monument-11monument-15
museum-11museum-15
music-11music-15
place-of-worship-11place-of-worship-15
police-11police-15
post-11post-15
prison-11prison-15
religious-christian-11religious-christian-15
religious-jewish-11religious-jewish-15
religious-muslim-11religious-muslim-15
shop-11shop-15
stadium-11stadium-15
star-11star-15
suitcase-11suitcase-15
swimming-11swimming-15
theatre-11theatre-15
toilet-11toilet-15
town-hall-11town-hall-15
triangle-11triangle-15
triangle-stroked-11triangle-stroked-15
veterinary-11veterinary-15
Health
dentist-11dentist-15
doctor-11doctor-15
hospital-11hospital-15
pharmacy-11pharmacy-15
Outdoors
campsite-11campsite-15
cemetery-11cemetery-15
dog-park-11dog-park-15
garden-11garden-15
golf-11golf-15
park-11park-15
picnic-site-11picnic-site-15
playground-11playground-15
zoo-11zoo-15
Transit
bus-11bus-15
ferry-11ferry-15
Rail station
entrance-11entrance-15
rail-11rail-15
rail-light-11rail-light-15
rail-metro-11rail-metro-15
Airport
airfield-11 airfield-15
airport-11 airport-15
heliport-11 heliport-15
rocket-11 rocket-15
Mountain peak
mountain-11 mountain-15
volcano-11 volcano-15
Dining
bakery-11 bakery-15
bar-11 bar-15
beer-11 beer-15
cafe-11 cafe-15
fast-food-11 fast-food-15
ice-cream-11 ice-cream-15
restaurant-11 restaurant-15
Education
college-11 college-15
school-11 school-15
General
alcohol-shop-11 alcohol-shop-15
amusement-park-11 amusement-park-15
aquarium-11 aquarium-15
art-gallery-11 art-gallery-15
attraction-11 attraction-15
bank-11 bank-15
bicycle-11 bicycle-15
bicycle-share-11 bicycle-share-15
car-11 car-15
castle-11 castle-15
cinema-11 cinema-15
circle-11 circle-15
circle-stroked-11 circle-stroked-15
clothing-store-11 clothing-store-15
drinking-water-11 drinking-water-15
embassy-11 embassy-15
fire-station-11 fire-station-15
fuel-11 fuel-15
grocery-11 grocery-15
harbor-11 harbor-15
information-11 information-15
laundry-11 laundry-15
library-11 library-15
lodging-11 lodging-15
marker-11 marker-15
monument-11 monument-15
museum-11 museum-15
music-11 music-15
place-of-worship-11 place-of-worship-15
police-11 police-15
post-11 post-15
prison-11 prison-15
religious-christian-11 religious-christian-15
religious-jewish-11 religious-jewish-15
religious-muslim-11 religious-muslim-15
shop-11 shop-15
stadium-11 stadium-15
star-11 star-15
suitcase-11 suitcase-15
swimming-11 swimming-15
theatre-11 theatre-15
toilet-11 toilet-15
town-hall-11 town-hall-15
triangle-11 triangle-15
triangle-stroked-11 triangle-stroked-15
veterinary-11 veterinary-15
Health
dentist-11 dentist-15
doctor-11 doctor-15
hospital-11 hospital-15
pharmacy-11 pharmacy-15
Outdoors
campsite-11 campsite-15
cemetery-11 cemetery-15
dog-park-11 dog-park-15
garden-11 garden-15
golf-11 golf-15
park-11 park-15
picnic-site-11 picnic-site-15
playground-11 playground-15
zoo-11 zoo-15
Transit
bus-11 bus-15
ferry-11 ferry-15
Rail station
entrance-11 entrance-15
rail-11 rail-15
rail-light-11 rail-light-15
rail-metro-11 rail-metro-15
- - ## Usage The preferred way to use these styles in Mapbox GL JS or the Mapbox Mobile SDKs is via a `mapbox://` URL. diff --git a/generate_icons_table.js b/generate_icons_table.js index 04f5c56e..8fa156fb 100644 --- a/generate_icons_table.js +++ b/generate_icons_table.js @@ -2,19 +2,22 @@ var icons = require('maki/layouts/streets'); console.log('') for (var i in icons) { - console.log(` - - - `); + console.log( + '', + ``, + '' + ); + for (var j in icons[i]) { var icon = icons[i][j]; - console.log(` - - - - - - `); + console.log( + '', + ``, + ``, + ``, + ``, + '' + ); } } console.log('
${i}
${i}
${icon}-11${icon}-15
${icon}-11${icon}-15
')