GithubHelp home page GithubHelp logo

tangrams / cartography-docs Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 3.0 18.99 MB

Documentation for Mapzen house styles, icons, and more

Home Page: https://mapzen.com/documentation/cartography/

License: Creative Commons Attribution 4.0 International

cartography-docs's People

Contributors

bcamper avatar meetar avatar nvkelso avatar rmglennon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cartography-docs's Issues

Add description on how to set API key per style

Most the styles must be updated to allow this, though.

Question: /cc @bcamper

  • Should Mapzen house styles styles continue to ship with Mapzen's API keys set or leave that blank?

If we remove it, then our product pages would need to set them on map init, and the Github repo index pages would also need to set them on init.

Update docs for Zinc theme in Cinnabar style

  • Remove Zinc from Basemap styles page (fine to add note under Cinnabar for redirection). Copy what Refill did, with single URL instead of all the label variants.
  • In Themes page add new Cinnabar section, with a Color section and a labels section. This is a little heavy handed, but until all styles have each of these options it's probably better to be explicate.
  • In the Icons big table remove the duplicate Zinc column (it's off screen, didn't you know!) @nvkelso

add images for each basemap style

It's confusing to new users (saw this in person!) to see references made to Bubble Wrap, Zinc without a picture that clicks into a full page view of a basemap.

Walkabout now supports basic SDK/UI styles

v2.1 of Walkabout (all label variants) now supports basic SDK/UI styles:

  • Data visualization
  • Default draw styles
  • Basic user experience styles
  • Transit user experience styles

But still not:

  • Language
  • Transit overlay

Update docs for icon library examples

The table of all the icons should still be good... but we're publishing an update for official support for mapzen_icon_library imports and the following sections need updating:

  • Using built-in sprites
  • Using Mapzen icons independently (move above the table of icons). Most of this content can be deleted, it's only the import that is unique over the Using built-in sprites example.
  • Update version numbers (increment major number – if it was 5 then it's 6 now)
  • At the bottom of the Icons page in the Versions section add "and later":
    • example: Bubble Wrap: 6.0.0 and later

Both should reference mapzen_icon_library as the style name (not icons).

Required Tangram version bumps in SemVer

When we need a new version of Tangram, that should require a major version bump in the styles. Right now that is minor version of Tangram, in the future that may be major.

Update Tangram ES examples

In the setting an API key example we show an older version of a updating the Tangram scene after import to override a global value. New Tangram ES have different syntax, and allow chaining modifications together.

This is a better example for newer Tangram ES:

map->loadScene(
    "https://mapzen.com/carto/refill-style/6/refill-style.yaml",
    false,
    { SceneUpdate("global.sdk_mapzen_api_key", "mapzen-xxxxxx"),
      SceneUpdate("global.sdk_building_extrude:", "false") }
);

While previously we stated:

map->loadScene(
    "https://mapzen.com/carto/refill-style/6/refill-style.yaml",
    false,
    { "global.sdk_mapzen_api_key", "mapzen-xxxxxx" }
);

Which wasn't wrong, but the updated syntax allows chaining the globals.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.