Skip to content

Get rid of user-specified refs #1393

Closed
Closed

Description

@tmcw

So off in app land we've been doing this for a while and I finally realized it might make sense as a gl-js builtin: https://gist.github.com/tmcw/fa0f38a489fdbe9e9fb1

It's quite possible and useful to generate 'refs' automatically and fairly quickly as a pre-processing step.

The linked example ^ uses es6 and ramda and xtend and json-stable-stringify because those are available in the surrounding environment, but a port to vanilla ES5 with no libraries is definitely possible.

Activity

  1. lucaswoj commented on Jul 28, 2015

    @lucaswoj
    Contributor

    Refs get a little more complicated in the context of data driven styling because there's a n-to-m mapping of GL buffers to layers. I think the only way to manage the system effectively will be to automatically assign refs (but I haven't quite gotten around to that yet).

  2. lucaswoj commented on Mar 8, 2016

    @lucaswoj
    Contributor

    Quick update: no data-driven styling blockers here but I want to make this happen 👍

  3. added this to the milestone on May 16, 2016
  4. removed this from the milestone on Jul 28, 2016
  5. changed the title [-]Implement refs internally[/-] [+]Get rid of user-specified refs[/+] on Jul 29, 2016
  6. self-assigned this
    on Oct 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions