HERE Maps Example not working properly
See original GitHub issueDescribe the bug The example using HERE map tiles has drop downs from which to choose. Those do not generate a working map view and throw errors in the console.
To Reproduce Steps to reproduce the behavior:
- Go to https://openlayers.org/en/latest/examples/here-maps.html
- Click on any other display view that is offered by the drop down below the map (e.g.“Normal Day Transit”)
- Open up the console which shows a list of 403s (screenshot included)
Expected behavior The map is redrawn according to the choice that was made.
Tested and reproduced on Chrome, Firefox, Edge and Safari. Opening one of those not-found-links leads to an endoint that says:
{
"error": "Forbidden",
"error_description": "These credentials do not authorize access. Please contract your customer representative or email locationapi@here.com to discuss upgrading your account."
}
Maybe the key must be updated?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
android - Here maps is not working - Stack Overflow
I just started to implement a sample app that just show HERE Maps. My code: // map embedded in the map fragment private...
Read more >Guide - HERE Maps API for JavaScript - HERE Developer
This article outlines a number of best practices aiming to help you use the HERE Maps API for JavaScript in the most efficient...
Read more >Google Maps Platform FAQ
How do I report a problem on the Google basemap? How is performance monitored for the services used with Maps JavaScript API?
Read more >@impargo/react-here-maps - npm
React Wrapper for the HERE Maps API for JavaScript (v3.0.12.4) ... the GitHub repo and will be documented here, but not yet available...
Read more >HERE Technologies - Amazon Location Service
By selecting HERE location data, you are selecting accurate, fresh, ... HERE map styles that are not listed in this section are currently...
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 FreeTop 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
Top GitHub Comments
https://hostunusual.com/destinations/austria/ is failing because it cannot load
ol.js
from jsdelivr The code is using tiles from MapTiler. To avoid dependency on other sites it would be better to download thedist.zip
for the version you are using from https://github.com/openlayers/openlayers/releases and use it from your server.Yes, the old app_id app_code pair is no longer working, and in the latest HERE API is replaced by an API key. It has already been fixed by #11899 Working example at https://deploy-preview-11899--ol-site.netlify.app/examples/here-maps.html