Skip to content

Tools: How to handle examples for tools that need API keys? #24

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

Open
AmeliaBR opened this issue May 24, 2019 · 2 comments
Open

Tools: How to handle examples for tools that need API keys? #24

AmeliaBR opened this issue May 24, 2019 · 2 comments
Labels
meta/process An issue related to how the work or repo is managed. section: reference tools The "Reviewed JavaScript Tools" overview section

Comments

@AmeliaBR
Copy link
Member

I'd like to include pages of working demos to show how the various reference JS map widgets can (or can't) be used to address the different use cases, and to explore the details of their particular capabilities (e.g., the accessibility of their interfaces). The example page for “Display a specific location on a map” shows the start of the idea.

Problem: Many of the mapping libraries require an API key linked to a credit card, even if they allow some usage for free.

Options:

  • only include free products in the examples
  • ask organizations involved in the community group to donate API keys

Note: I don't expect the actual page view counts on the examples to ever get very high. We could probably cap usage of most or all the APIs to their free tiers without worrying about hitting the limits. But, the links would still break eventually if no one renews the accounts they are associated with.

@AmeliaBR AmeliaBR added the discussion: sample JS tool an existing web map tool: should we include it in the review? what should we say about it? label May 24, 2019
@prushforth
Copy link
Member

I'm pretty happy with the open source option. I especially appreciate Open Street Map content, although they make their centralized content available as services only by virtue of donations to their foundation; they prefer it, especially if your traffic gets too large, that you download their data and serve your own tiles.

There are other free tile providers that can be used, including the GoC's.

When it comes to services like MapBox and Google Maps etc., I feel that if they joined the community group it might be less risky, especially if they donated use of an API key to the group, to use their APIs as examples of what might be standardizable.

OTOH, there is a very well established pair of generic open source mapping APIs, in the form of Leaflet and OpenLayers, that only require access to data sources in order to function and which can certainly give us ideas for a standard API. The issue with all these APIs is that we need to take the concept a step further and apply their functions to what a native DOM API could do vs what should reasonably be built as an abstraction on top of that DOM. Currently as I've pointed out many times, possibly to the detriment of the message :-), everything in mapping is an abstraction built on current native DOM APIs.

In short my opinion is let's proceed in the open / free, and if orgs who have commercial mapping APIs want to join, and if they think it's important that features they have be considered, by all means let's collaborate. Standards are defined by those who show up, after all.

@AmeliaBR AmeliaBR added meta/process An issue related to how the work or repo is managed. section: reference tools The "Reviewed JavaScript Tools" overview section and removed discussion: sample JS tool an existing web map tool: should we include it in the review? what should we say about it? labels May 25, 2019
@joserojas-tomtom
Copy link

(Disclosure: I work for TomTom)
If you think your demos won't go over the 2500 transaction/per day limit, you can always use the TomTom Maps APIs

You can get an API KEY without a credit card and you will always have support from us.

Take a look at our Web SDK based tutorials.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta/process An issue related to how the work or repo is managed. section: reference tools The "Reviewed JavaScript Tools" overview section
Projects
None yet
Development

No branches or pull requests

3 participants