mirror of https://github.com/captn3m0/plugo.git
no more default icon
This commit is contained in:
parent
d3972d4244
commit
20c055fc49
4
map.js
4
map.js
|
@ -12,10 +12,6 @@ map.on("idle", function () {
|
|||
});
|
||||
map.on("load", (e) => {
|
||||
map.resize();
|
||||
map.loadImage("/plugo/map-marker-icon.png", (error, image) => {
|
||||
if (error) throw error;
|
||||
map.addImage("custom-marker", image);
|
||||
});
|
||||
map.addSource("plugo", {
|
||||
type: "geojson",
|
||||
data: "map.geojson",
|
||||
|
|
Loading…
Reference in New Issue