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.

default marker image asset #2106

Closed
Closed

Description

@incanus

We should come up with a basic marker (blank Maki one? something else?) that looks good on all/most maps, bundle it alongside other assets like compass imagery, Mapbox logo, etc., and have the platforms fall back to using it if client code doesn't provide a raster image to use.

We should do this before updating any style pin to mapbox/mapbox-gl-styles@dbabdfe or later.

Activity

  1. added
    GL JS parity
    on Aug 17, 2015
  2. ljbade commented on Aug 18, 2015

    @ljbade
    Contributor

    Good idea!

  3. nickidlugash commented on Sep 25, 2015

    @nickidlugash
    Contributor

    Per chat, I can help out with this. Does something like this work? But probably a different color.

    • What size/file format does this need to be in?
    • What should it be named?
      Where should it live?

    /cc @1ec5

  4. 1ec5 commented on Sep 25, 2015

    @1ec5
    Contributor
  5. DiogoAndre commented on Sep 25, 2015

    @DiogoAndre

    Maybe also good to provide @3x to support the 6plus? It is not mandatory, but would be nice to have the marker in all supported resolutions.

    Here's a handy guide on iPhone screen resolutions: http://iosdesign.ivomynttinen.com/

    Looking forward to having default markers, and then #2250 😄

  6. friedbunny commented on Sep 27, 2015

    @friedbunny
    Contributor

    Ideally we'd have @3x, too, but I'm not sure that the GL backend can handle @3x sprites right now — @incanus? Might as well produce and include the asset, in any case.

    An @3x marker based on the current marker will be 60x150 (1.5x larger than @2x).

  7. ljbade commented on Oct 2, 2015

    @ljbade
    Contributor

    @friedbunny Going to have to support arbitrary sprite sizes for Android, from <1.0, to over 4.0. So iOS support for 3x will come soon too I suspect.

  8. ljbade commented on Oct 2, 2015

    @ljbade
    Contributor

    Merged, follow up on Android scaling issue in #2506

  9. added this to the android-v2.1.0 milestone on Oct 6, 2015
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

    GL JS paritybuild

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions