Questions tagged [Leaflet] (106)

1
answer

Why nepravilno showing pictures of beacons in vue2-leaflet on laravel?

Hi all. The problem is that the pictures of the beacons. that fly when building laravel.mix path : /public/build/images/vendor/leaflet/dist/{marker-icon.png} . But, when displaying maps in a browser, beacons are not displayed and are broken results in the console because of the lack of slash in the path like: localhost:81/b...
Estelle_Kihn99 asked April 4th 20 at 00:42
1
answer

How to control the viewport leaflet?

Just started to dig in leaflet.js. I can not understand how you can change the position of the viewport when you (need something be moved to specific coordinates).
santiago38 asked April 2nd 20 at 15:31
0
answer

How to get the best route a) subject to detour SK or TTK b) traffic C) if you do the calculation today and need for tomorrow?

Good afternoon, it is necessary to obtain the optimal route for cargo transportation to get the route should be routed with consideration of zones bypassed (skip of Moscow) to obtain the most optimal route taking into account traffic jams BUT need not for now and for the next date!
Horace51 asked April 2nd 20 at 15:24
1
answer

Popup does not display data in MarkerClusterGroup react leaflet?

Hello! From the Server come in json data, after receiving I display on the map Leaflet. As it turns out a lot of markers, I combine them into clusters using MarkerClusterGroup, clusters appear together with the markers, but popup on click is not display the information without the cluster everything works fine. Who did this...
daisy.Zboncak asked April 1st 20 at 18:04
3
answers

What library to choose to work with OSM Android?

Must be able to obtain information about buildings, on which the user clicked. When you click on the building you need to mark all angles and in relation to any angle to allow you to pull the ruler to change the distance from the corner to the right place. Something like this: Please tell me what are the library and card fo...
kaylin.Herz asked April 1st 20 at 16:13
1
answer

How to add a map using Leaflet from Vue?

App.vue<template> <div id="app"> <AppMap/> </div> </template> the <script> AppMap import from './components/AppMap' export default { name: 'App', components: { AppMap } } </script> <style> #app { font-family: 'Avenir', Helvetica, Arial, sans-serif; -webkit-font-smoothi...
boyd54 asked March 31st 20 at 20:37
1
answer

How to save coordinates of polygons in leaflet?

How to get the coordinates of the generated polygons in a format such as [-145.59082, 81.56997],[-149.80957, 81.4988],[-150.60059, 82.46607],[-146.25, 82.50629]? or to convert from format type "M253 207L450 290L684 178z"
Mason0 asked March 31st 20 at 13:59
1
answer

Leaflet and Framework7 is the problem with onclick in iOS?

Hello. Share an example https://452694.playcode.io/ If you touch to move the map up, then you operate the zoom button. Buttons start to work only after following a tap on the map, but only if it is not moving. The only problem is iOS with Framework7 (without Framework7 everything is OK). May be someone knows how to solve th...
samir.Bartell asked March 29th 20 at 21:33
3
answers

How can I get the outline of an image?

Colleagues good day, my question is probably rhetorical, but still. Here's the thing, there at the entrance to PNG, here's an example: The image - transparent background + some sort of figure(the yellow one))). This image is the exact size and sort of coordinates for positioning on the map. Have a question, is there a way t...
alize.Rosenbaum asked March 29th 20 at 20:06
1
answer

Can I use Leaflet Map?

Just found this Libu, trying to do the tutorial, but instead of map I see a gray square. Here is the source code:<!DOCTYPE html> <html> the <head> <meta charset="utf-8"> <title>Leaflet JS MAp Library</title> <meta name="viewport" content="width=device-width, initial-scale=1" > ...
Arden4 asked March 27th 20 at 13:37