-
Notifications
You must be signed in to change notification settings - Fork 3
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
use leaflet methods rather than our own #43
Conversation
80ff196
to
9195e45
Compare
Solves the temporary leaflet/rails asset icon path fiasco of 2016 / 2017
cd10f79
to
6b7d137
Compare
@@ -334,7 +334,9 @@ L.SolrHeatmap = L.GeoJSON.extend({ | |||
} | |||
|
|||
var bounds = this._map.getBounds(); | |||
return [bounds.getWest(), bounds.getSouth(), bounds.getEast(), bounds.getNorth()].join(','); | |||
var wrappedSw = bounds.getSouthWest().wrap(); |
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.
Is this file the same as https://github.com/mejackreed/leaflet-solr-heatmap/blob/master/leafletSolrHeatmap.js (and imply that upstream should get updated too/first)?
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.
No. that was a first pass, and hasn't been updated yet. It has diverged a bit, but tech debt would to bring upstream inline
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.
👌
No description provided.