-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Removing/altering ol.source.MapQuest #5484
Comments
It looks like it'll have to follow other sources like |
No need for a PSC decision here. We're accepting pull requests to add a configuration option so users can provide the required API key, like @jonataswalker suggested above. |
@ThomasG77 would you like to handle this PR? @ahocevar May you create a key to MapQuest examples? |
Keys will expire with 15000 transactions? Will we be changing keys often?
I can't really find what will happen if we exceed 15,000. Also relevant: https://developer.mapquest.com/legal |
I'll send an inquiry to MapQuest to see if we can get a higher quota for use in our examples. |
Sent. We'll see what happens. |
Got a response from MapQuest: "Unfortunately, we can not offer a key without a transaction limit. If you're interested in more than 15000 transaction per moth, you must # for a plan here: https://developer.mapquest.com/plans" So here's the plan: we'll switch to a different base map for all examples that currently use |
ok I'm working now on a PR for this, so it's in before 3.17 release |
Be cautious, it's a bit annoying to get an access_token e.g https://twitter.com/ThomasG77/status/748737237588647937 |
Early attempt so do not wait for me |
After doing some research, I think the cleanest way to resolve this issue is to remove the MapQuest source. No response from MapQuest management about the API key, and no documentation for a map tiles API. Looks like they only provide map tiles access through their Leaflet and Android SDK APIs. To avoid the same problems we've had with Google Maps in the past, removal of the MapQuest source appears to be the only viable solution for now. As a replacement, we can maybe provide a Here source. But I haven't checked their API yet. Just an idea at this point. |
Their API looks sane: |
Looks sane indeed. I'll contact Here to see if they are able and willing to provide an API key for official hosted examples for free. |
Just FYI, MapQuest is not going to come back. Reply from MapQuest: "Yes, going forward we recommend users switch to leaflet. We are moving to a cloud based system and all transactions will require a key after 11 July. Leaflet is now our standard (in addition to Mapbox tiles and our new Android and iOS SDKs." As we make progress on styling vector layers, the Mapbox tiles provided by MapQuest may become an interesting option. |
Just some information I've found out:
|
Being technically able to do this is one thing. Doing it in a legal way is another, and it looks like it is currently not possible to do this in a legal way. |
I'm not understanding how you came to the conclusion that it would not be legal to implement this in OL3. "Recommend" and "Standard" do not exclude ol3 as a consumer. Maybe provide an input area for users to paste in there API key before the sample will actually load tiles? |
@ca0v This is not about the API key, it is about the API. If you can point me to an API documentation that shows how to access tiles directly and does not have a deprecation warning, we'll gladly accept a pull request to bring back MapQuest. I've had an involved conversation with representatives from MapQuest, clearly indicating that the only APIs remaining to access MapQuest tiles are Leaflet plugins, Android SDK and iOS SDK. |
A clarification to the above: The problem is getting the |
This is different than Consumer Key and Consumer Secret? I have keys (public/private) for both an "application" and a "map". But I'd need something else as well? UPDATE: I signed into developer.here.com using my esri credentials to get an APP ID and APP CODE. What is that all about? Has MapQuest been acquired by ESRI? |
@ca0v Those are indeed different. The Regarding your update, I don't think that MapQuest, Here and ESRI are all related. |
So I know you closed this, but it now looks like they are providing a static Map API that I would imagine is similar to how Bing works, http://www.mapquestapi.com/staticmap/ . I'm guessing this is probably new information from what I read in this thread. |
Bing allows direct access to their tiles. |
I meant more along the lines of you would just need to provide OL3 layer a key in your source code like you do with Bing. Sorry I don't quite understand what the big difference is between requesting a tile through their API and "direct access". |
MapQuest does not have a HTTP API (like Bing or Here) to access their tiles any more. If you rely on MapQuest, you have to use one of their APIs (Leaflet Plugin, Android SDK or iOS SDK). |
I see, I mistook their static map API for a way to request tiles. Not much else to say then but,
|
According to https://lists.openstreetmap.org/pipermail/talk/2016-June/076106.html, it's will be end of life for MapQuest Open tiles.
I have no idea what would be the best solution to manage this policy change but
ol.source.MapQuest
will have to be removed or changed.The text was updated successfully, but these errors were encountered: