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

Custom baseUrl and stylePath parameters #148

Open
gavinr opened this issue Sep 2, 2022 · 0 comments
Open

Custom baseUrl and stylePath parameters #148

gavinr opened this issue Sep 2, 2022 · 0 comments

Comments

@gavinr
Copy link
Contributor

gavinr commented Sep 2, 2022

Describe the problem

From @corrigancd in #140:

Custom baseUrl and stylePath parameters - In our case, we require paths to the itemId that are not the ones hardcoded in the current implementation. So three parameters were added:

  • baseUrl - The path to where the itemId resides (defaults to the previous portalUrl + <hardcoded-path-to-itemId> if not specified and useCustomUrlOrPath (see below) is not passed as true);
  • stylePath - The path to the style json. This will be appended to after the itemId in the path when retrieving the vectorTileStyle file (defaults to the previous <hardcoded-path-to-style> value if not specified and useCustomUrlOrPath is not passed as true);
  • useCustomUrlOrPath - Whether to use baseUrl and stylePath at all. If this is not passed, or passed as false, the previous functionality will happen, this includes the optional use of portalUrl.

Describe the proposed solution

Proposed solution from From @corrigancd in #140: here and here

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

No branches or pull requests

1 participant