Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

GeometryTileProvider should allow tile-id based callback methods #10495

Closed
asheemmamoowala opened this issue Nov 17, 2017 · 2 comments
Closed
Labels
Android Mapbox Maps SDK for Android archived Archived because of inactivity

Comments

@asheemmamoowala
Copy link
Contributor

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.

@asheemmamoowala asheemmamoowala added the Android Mapbox Maps SDK for Android label Nov 17, 2017
@tobrun
Copy link
Member

tobrun commented Nov 18, 2017

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.

@stale stale bot added the archived Archived because of inactivity label Nov 3, 2018
@stale
Copy link

stale bot commented Dec 3, 2018

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

@stale stale bot closed this as completed Dec 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android archived Archived because of inactivity
Projects
None yet
Development

No branches or pull requests

2 participants