Imagery provider API consistency
See original GitHub issueIt is kind of weird and inconsistent that we use functions for some types classes for others. I know perfect is the enemy of the good and all that, but it makes our API harder to use.
I think we should change createOpenStreetMapImageryProvider and createTileMapServiceImageryProvider back into classes so they match the other imagery provider types. They could inherit from UrlTemplateImageryProvider so we don’t have to worry about introducing more duplicate code.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Identify (Image Service)—ArcGIS REST APIs
Identify the content of an image service for a given location, mosaic rule, or rendering rule.
Read more >APIs & Integrations - Geospatial Insurance Consortium
See why aerial imagery is better than satellite images with APIs and partner integrations from the Geospatial Insurance Consortium.
Read more >Seeking Satellite Imagery Providers? - GIS Stack Exchange
Most of the commercial satellites don't carry consistent global ... The ESRI Javascript API has global satellite data at varying resolution.
Read more >How to Order and Download Data - Planet Developer Center
last updated: December 13, 2022. If you have a contract with Planet, you can download imagery directly from Explorer or via Planet's APIs....
Read more >Satellite Imagery - Mapbox
We combine multiple sources of global satellite imagery from commercial providers, NASA, and USGS. Optimized for coverage and consistency, we continually ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@thw0rted I opened a PR a while ago but it hasn’t been a priority for us to review and merge it #6203
If
createOpenStreetMapImageryProviderdoesn’t take aResource, that’s a quick fix we should be able to do in the meantime. @ProjectBarks would you have a minute to look into that? All other imagery providers should take aResourceDid this ever go anywhere? Also, createOpenStreetMapImageryProvider is maybe the only place that takes a URL as a string, not a Resource, and is thus completely impossible to load through a proxy.