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.

GeometryTileProvider should allow tile-id based callback methods #10495

Closed

Description

@asheemmamoowala

The custom geometry source API on iOS/macOS (MGLComputedShapeSource) allows implementers to pick between callbacks that specify a tile-id and a geographic bound.

This allows using existing tiled data more easily.

- (NSArray<MGLShape <MGLFeature> *>*)featuresInTileAtX:(NSUInteger)x y:(NSUInteger)y zoomLevel:(NSUInteger)zoomLevel;

- (NSArray<MGLShape <MGLFeature> *>*)featuresInCoordinateBounds:(MGLCoordinateBounds)bounds zoomLevel:(NSUInteger)zoomLevel;

The Android SDK should also provide such an option as part of the GeomegtryTileProvider.

Activity

  1. added
    Android
    on Nov 17, 2017
  2. tobrun commented on Nov 18, 2017

    @tobrun
    Member

    Really like the flexibility, you either hook into the high level model objects or the low level x,y,z tile coordinates. One top of exposing an interface for each, I'm interested in adding an adapter class that provides empty implementations.

  3. added
    archived
    on Nov 3, 2018
  4. stale commented on Dec 3, 2018

    @stale

    This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

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

    Androidarchived

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions