Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Make MapView's setStyleJson public #1997

Closed

Description

@erf

I would like to have setStyleJson as a public method in MapView, like so:

    public void setStyleJson(String json){
        mNativeMapView.setStyleJson(json);
    }

Activity

  1. added
    Android
    on Aug 5, 2015
  2. 1ec5 commented on Aug 5, 2015

    @1ec5
    Contributor

    For reference, on the iOS side, we removed -setStyleJSON: in #1299 but are definitely open to reintroducing granular styling in some form (#837).

  3. ljbade commented on Aug 6, 2015

    @ljbade
    Contributor

    I'd much rather see #837 as the public API instead of this as setting the JSON directly is messy and I recall it causing issues a while ago.

    @jfirebaugh Should we expose this to developers?

  4. jfirebaugh commented on Aug 6, 2015

    @jfirebaugh
    Contributor

    Yep, #837 covers what our plans are for public APIs in this area. @erf, let us know if for some reason your use case wouldn't be satisfied with that approach.

  5. erf commented on Aug 6, 2015

    @erf
    ContributorAuthor

    @jfirebaugh #837 looks promising - has work on this begun for Android ?

  6. jfirebaugh commented on Aug 6, 2015

    @jfirebaugh
    Contributor

    No, we haven't started on it for any native platform yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Android

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions