-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Add CartoDB tile source. #4926
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
Add CartoDB tile source. #4926
Conversation
externs/olx.js
Outdated
| * minZoom: (number|undefined), | ||
| * wrapX: (boolean|undefined), | ||
| * config: (Object|undefined), | ||
| * map: string, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like maybe this should be (string|undefined) based on your example use.
|
Hey @aisaacs - I just wanted to say I like this pull request, and I'm hoping you find time to finish it. |
01e333b to
0e5749b
Compare
src/ol/source/cartodb.js
Outdated
| goog.provide('ol.source.CartoDB'); | ||
|
|
||
| goog.require('goog.asserts'); | ||
| goog.require('ol.source.State') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a missing semicolon. (We could make the linter warn here so we're not left with confusing build errors.)
9a728ea to
a8c85b6
Compare
|
Looks great @aisaacs. Thanks for sticking with it. It will be nice to see this get some additional use. |
This is a work in progress. It adds a carto db source that supports both named and anonymous maps.
I've been sitting on this for a while, which is why it still uses
goog.net. I plan on removing that and replacing it with straightXMLHttpRequest.