leaflet Questions
2
Solved
This previous SO question shows how we can use a Vue2 component as the content of a LeafletJS popup. I've been unable to get this working with Vue3.
Extracting the relevant section of my code, I ha...
3
Solved
I would like to modify the behavior of leaflet grouping feature to total on grouping and preserve a round red bubble shape dependent on value.
My data contains columns:
lon lat sales_ytd
I woul...
Archibaldo asked 14/2, 2020 at 12:58
3
Solved
Does Leaflet support a method for allowing the CircleMarker created to be of, say, radius 5, but allow the radius from the lat/lng of the marker that is sensitive to click events (shows a bound pop...
3
Solved
I use Leafletjs with google map tiles in my application. Here is my HTML markup:
<div class="map-wrap" style="display: none;">
<div id="map"></div>
</div>
<div class=...
Sapient asked 25/3, 2014 at 18:11
4
I have tried to export a visualisation of data with ipyleaflet as PNG or any other file format but i could not find a method that is working. For example in folium there is map.save(path). Is there...
5
Solved
I am use leaflet-directive to create map using leaflet.
Is it possible to remove leaflet link and OSM copyright from the map.
I wish to put in leaflet image instead.
Poetry asked 12/10, 2015 at 8:42
3
Solved
What I like to do
I like to plot isochrones from multiple locations on a map so I can visually find the travel time from an arbitrary town to the closest location. It should look like a kernel den...
4
Solved
I would like to ask if it is possible to hover not CLICKED the marker in the leaflet map
here is my code
leaflet.js
var map = L.map( 'map', {
center: [20.0, 5.0],
maxZoom: 16,
minZoom: 2,
zo...
Broider asked 5/3, 2017 at 3:2
2
How to get the baselayer selected in leaflet?
Ingrained asked 16/11, 2015 at 17:17
2
Solved
I'm using leaflet-groupedlayercontrol to add my grouped layers to the map and I have a problem:
All the layers are deselected, but I want to select all by default. I am using checkboxes, not radi...
Inappropriate asked 30/3, 2017 at 8:48
5
Does anyone have a method for adding a title to a leaflet layers control? Just a line of text, for example "Available layers." Ideally I'd like to add a link to the text as well.
I thought it wou...
Esmond asked 17/7, 2017 at 20:10
10
So i try to achieve a result as on foursquare: https://foursquare.com/explore?cat=drinks&mode=url&near=Paris which is when you clik on a marker on the map, it scrolls through the listed of ...
Latterly asked 5/9, 2014 at 10:32
4
I am trying to add markercluster into leaflet.
var markers = L.markerClusterGroup();
My header file include:
script(src='https://unpkg.com/[email protected]/dist/leaflet.js')
link(type=...
Loredo asked 11/10, 2016 at 21:31
4
How do you calculate the distance between two markers in Leaflet-ionic2?
Couldn't figure out, I hope there is an Algorithme to do as soon as i select a marker it show me the distance between my lo...
Indemnify asked 2/4, 2017 at 10:47
2
I have a leaflet map in my website using Google satellite images as a base map. After June 11 2018, the google map tiles cant be accessed without an api key. The tiles can currently be accessed thr...
Rincon asked 4/6, 2018 at 2:45
5
The react-leaflet map does not get rendered properly.
The map is rendered outside of its parent's boundaries
Some tiles of the map are missing
The problem occurs when using the map with standar...
Turoff asked 18/10, 2016 at 8:34
1
Solved
My goal is to link highlighting between a plotly figure in one panel and a map in the second panel. For my purposes, I want to select (highlight) data in one panel and have the selected data highli...
2
Solved
So I want to merge adjacent polygons in javascript this is what I actually have with my code:
I want to remove inside stroke but keep border stroke.
So I want to go from this:
To this:
I want to...
3
Solved
I make some circles in JS as follow:
L.circle(
[46.765735535841024, 23.58344078063965], 5, {
color: "blue"
}).addTo(map).bindPopup("Description: This is my description");
I want to replace th...
Alurta asked 5/3, 2016 at 11:12
2
Solved
I'm using Leaflet package to create maps in R. It works perfectly. I can export maps in R with simply Export, but I need to export maps from script in R. My simple code is:
png("test_png.png")
(m ...
4
Solved
Is there a way to get a shape to wrap from one edge across the dateline meridian (180° longitude) to appear on the other side of the map in Leaflet.js?
I've looked at:
http://leafletjs.com/referen...
Variolous asked 10/11, 2016 at 16:28
3
Solved
I try to figure out how to draw linestring with fillcolor: red and outline: black. Like the following image:
style = {
fillColor: 'rgb(255,0,0)',
outline: 'rgb(0,0,0)'
weight: 10
};
It doe...
Decode asked 9/10, 2016 at 3:35
7
Solved
In one of our projects we're using Leaflet along with Leaflet.markercluster plugin. Looking through the Leaflet's sources I found that it appends _collapse() function to the map's click event, so w...
Neckpiece asked 4/9, 2013 at 8:5
20
Is there a way to randomly change marker-colors in native Leaflet? I'm using svg elements which could be styled.
I know that it is possible with mapbox.js
EDIT:
To clarify what I intend to do: If y...
Metrist asked 9/5, 2014 at 14:31
5
Solved
How can I rotate a marker in leaflet? I will have a lot of markers, all with a rotation angle.
I've tried this solution from runanet/coomsie at Leaflet on GitHub, but nothing happens with my marke...
Tryma asked 21/11, 2012 at 13:45
1 Next >
© 2022 - 2025 — McMap. All rights reserved.