Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a method to get all the tile collections #33

Closed
wants to merge 1 commit into from

Conversation

ronitjadhav
Copy link
Member

This Pull Request introduces the following:

  • Addition of a new Promise, tileCollections, to the OgcApiEndpoint class in the src/ogc-api/endpoint.ts file. This Promise resolves to an array of tile collection identifiers as strings. It checks if the endpoint offers tiles and if so, it parses the collections to return only those of type 'vector'.
  • Update to the parseCollections function in the src/ogc-api/info.ts file. It filters and maps collections based on item type and data type. Now it includes the 'vector' data type in its filtering process, enhancing its ability to parse collections of vector data types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant