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.

Add Support For Marker Bitmaps #2744

Closed
Closed

Description

@bleege

Now that the setSprite() issue has been resolved we need to add support for custom images (aka Drawable) in the Marker API.

Activity

  1. added
    Android
    on Oct 23, 2015
  2. added this to the android-v2.2.0 milestone on Oct 23, 2015
  3. ljbade commented on Oct 23, 2015

    @ljbade
    Contributor

    @bleege I have already implemented this via Marker.setIcon(Sprite icon). I called it setIcon to remain consistent with Google Maps.

    To get a Sprite you call one of the SpriteFactory.fromEtc(etc) methods. There isn't one for a Drawable but we can add a fromDrawable easily.

  4. self-assigned this
    on Oct 23, 2015
  5. ljbade commented on Oct 23, 2015

    @ljbade
    Contributor

    I added a fromDrawable.

    I used it in the InfoWindowAdapter activity to add colored city markers that match the color of the InfoWindow.

    device-2015-10-23-163206

  6. added a commit that references this issue on Oct 23, 2015
    267e33b
  7. added a commit that references this issue on Nov 6, 2015
    faba6d3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Android

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions