-
Notifications
You must be signed in to change notification settings - Fork 18
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 Leaflet module #138
Add Leaflet module #138
Conversation
c111cbc
to
190e199
Compare
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.
Very nice indeed. Some minor nits, feel free to ignore based on what makes sense to you. Plus a suggestion to break out some changes into separate PR.
import 'leaflet/dist/leaflet.css'; | ||
|
||
// source: Natural Earth http://www.naturalearthdata.com/ via geojson.xyz | ||
const AIR_PORTS = |
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.
const AIR_PORTS = | |
const AIRPORTS_URL = |
return this._deck.pickObjects(opts); | ||
} | ||
|
||
#getMap(): L.Map & {_animatingZoom: boolean; _getMapPanePos: () => L.Point} { |
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.
Nit: are these private declarations? We usually use the typescript private keyword and a leading underscore
@@ -12,6 +12,7 @@ | |||
}, | |||
"type": "module", | |||
"workspaces": [ | |||
"examples/*", |
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.
Might be good to do this and the bing maps fix in separate PRs. This one in particular has caused some issues in the past. Make sure you can build the website. May have to revert if it messes up publishing.
@@ -0,0 +1,12 @@ | |||
// deck.gl-community |
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.
Fine, though not super excited about files called index...
maybe we could name it after the tests inside?
@zakjan Feel free to merge whenever you are ready, or let me know if you need me to merge. |
No description provided.