-
Notifications
You must be signed in to change notification settings - Fork 55
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
Bing Maps getCredentials for non-billable session ID #16
Comments
I believe this is what this plugin already does. It makes an initial request to the Imagery Metadata API with your Bing Maps API Key, which returns a URL for tile requests. This URL does not seem to include your API key and I don't think those tile requests are billable, but I do not know for sure. |
I think this is already resolved, closing since it's been quiet for 6 months. |
No, it does not.
In fact it is billable. Only And you can see in that table - So, every Bing layer instance initialization produces billable request. So it makes sense to defer metadata request until layer is actually added to map. |
BTW, your POINT_METADATA_URL could be made with not billable |
Re-opening, open to PRs to fix this. |
Implemented in other project: https://github.com/shramov/leaflet-plugins/blob/61a19e577fc244e0c00b278bea886e09edbc7d21/layer/tile/Bing.js#L212-L216 |
Does anyone have any methodology for requesting the bing maps session ID used after the original API key to reduce billable map tile requests.
On the Bing site it says this:
However, I cannot work out how to do this using Leaflet and this plug-in (which is very good!)
If anyone has any ideas that would be brilliant, thanks!
The text was updated successfully, but these errors were encountered: