Skip to content

mapbox-gl-geocoder mobile styles #89

Closed

Description

@vincentsarago

The geocoder plugin may appear quite big especially on mobile or when you have already other buttons on the map controls

Today style:
geocoder

I think it will be good to have at least an collapsed option to make the geocoder plugin small or big like in http://www.liedman.net/leaflet-control-geocoder/

wanted style
capture d ecran 2016-12-01 a 10 03 04

Activity

  1. tristen commented on Feb 27, 2017

    @tristen
    Member

    I'm inclined to require this from the implementor rather than building in an option to support this (see https://www.mapbox.com/imagery-requests/ as example)

  2. vincentsarago commented on Feb 27, 2017

    @vincentsarago
    Author

    all good! 👌
    can we maybe update the documentation ?

  3. tristen commented on Feb 27, 2017

    @tristen
    Member

    Yeah ... I wonder how we should document this ...

  4. yuletide commented on Mar 23, 2018

    @yuletide
    Contributor

    I'm having issues with the control working on mobile at all. Often it won't respond to touch events, and the autocomplete results are hard to see/interact with. Adding some responsive styling or docs for how to add them later would be very helpful.

  5. changed the title [-]mapbox-gl-geocoder style[/-] [+]mapbox-gl-geocoder mobile styles[/+] on Mar 23, 2018
  6. added this to the v4.0.0 milestone on Mar 13, 2019
  7. katydecorah commented on Mar 21, 2019

    @katydecorah
    Contributor

    Noting that we added a collapse option in the upcoming version 4, ref #222.

    Leaving this issue until we cover mobile styling in version 4 as well.

  8. scottsfarley93 commented on Mar 27, 2019

    @scottsfarley93

    We addressed these issues in #233 and #222. Mobile styles should be better handled once version 4 . is released.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions