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.

Visible Feature querying #5869

Closed
Closed

Description

@ivovandongen

This ticket is the android implementation of #352 or query rendered features.

In order to implement this we need to lay some groundwork, mostly because we already have a full geometry implementation in https://github.com/mapbox/mapbox-java/ that we will want to re-use. At first we resisted adding MAS as a dependency since it currently has a dependency on rxjava, which is quite big. However, work is underway as we speak to remove that dependency in: mapbox/mapbox-java#131.

This implementation will add methods to query the layers currently rendered (or a subset of layers) and retrieve the GeoJson Features present either for a point or area.

Activity

  1. added
    Android
    on Aug 4, 2016
  2. added this to the android-v4.2.0 milestone on Aug 4, 2016
  3. ivovandongen commented on Aug 10, 2016

    @ivovandongen
    ContributorAuthor

    Little update: Initial querying is done:

    • point query -> returns features, incl:
      • id
      • properties as JsonObjects
      • geometry as MAS GeoJson types

    Todo:

    Beside the above. Do we need any other conversions from/to geojson in the sdk?

    cc @zugaldia

  4. zugaldia commented on Aug 10, 2016

    @zugaldia
    Member

    @ivovandongen Love it.

    I can take care of the latest two items in that checklist.

  5. ivovandongen commented on Aug 10, 2016

    @ivovandongen
    ContributorAuthor

    @zugaldia @cammace prepared the second item on #5927

    If you don't mind picking up mapbox/mapbox-java#171 that would be great!

  6. 21 remaining items

  7. ivovandongen commented on Aug 15, 2016

    @ivovandongen
    ContributorAuthor

    Squashed: #6012

    Needs some testing on older devices to make sure were not using top many local references in conversion.

  8. ivovandongen commented on Aug 15, 2016

    @ivovandongen
    ContributorAuthor

    highlight-buildings

  9. added a commit that references this issue on Aug 16, 2016
  10. ivovandongen commented on Aug 16, 2016

    @ivovandongen
    ContributorAuthor

    Merged

  11. mkv123 commented on Aug 17, 2016

    @mkv123

    @ivovandongen: Is it intentional that using this feature requires pulling in mapbox services as a new dependancy? Or is there a plan/ticket to move the geojson classes this feature requires into the normal mapbox sdk?

  12. ivovandongen commented on Aug 18, 2016

    @ivovandongen
    ContributorAuthor

    @mkv123 Yes, this is intentional. If you're worried about apk size, proguard has you covered.

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