We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Heatmap sample code when using Leaflet library (https://leafletjs.com/):
this._mapObject = L.map(mapDiv).setView([38.845210, 24.333653], 7); L.tileLayer('https://b.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>', maxZoom: 18 } ).addTo(this._mapObject); this._markerData[this._markerData.length] = [lat1, long1, 1]; ... this._markerData[this._markerData.length] = [latN, longN, 1]; var heat = L.heatLayer(this._markerData, {radius: 15}).addTo(this._mapObject);
Files needed to make that code work: https://unpkg.com/[email protected]/dist/leaflet.css https://unpkg.com/[email protected]/dist/leaflet.js leaflet-heat.js (from https://github.com/Leaflet/Leaflet.heat)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Heatmap sample code when using Leaflet library (https://leafletjs.com/):
Files needed to make that code work:
https://unpkg.com/[email protected]/dist/leaflet.css
https://unpkg.com/[email protected]/dist/leaflet.js
leaflet-heat.js (from https://github.com/Leaflet/Leaflet.heat)
The text was updated successfully, but these errors were encountered: