Skip to main content

All Questions

10 questions with no upvoted or accepted answers
3 votes
1 answer
317 views

Excluding map tiles from appcache

I am trying to implement offline use through appcache with the site corvallistrails.org. All of the images and resources that I am hosting cache perfectly, but when I attempt to use the site the map ...
user2669459's user avatar
1 vote
1 answer
99 views

custom zoom-in zoom-out buttons in leaflet using pico.css

Coming from this answer to customization of marker in leafleat: remove blue background from markers, now i have the following problem: .html file: <!DOCTYPE html> <html lang="it">...
Den's user avatar
  • 59
1 vote
0 answers
49 views

Container div of map scaled, map.invalidateSize() doesn't work

I have a div that contains several elements as children <div id="container"> <div id="map"></div> <div id="el1"></div> <div id=&...
Cole Beasley's user avatar
1 vote
0 answers
311 views

Show a given city on a given map using Open Street Maps

I'm making a website and I would like to be able to show a location a user has entered on an open street map for example a user might enter "London" in to the input field then it shows them that ...
Finn Hunt's user avatar
  • 103
0 votes
0 answers
146 views

Leaflet/Openstreetmap, giving me blank white screen in the map route

Heads up, brand new coder, and even newer to ruby on rails. Creating a project and I need an interactive map. Here is what I did following the leaflet tutorial and some youtube videos First I added ...
Sahir Sood's user avatar
0 votes
0 answers
23 views

Make a marker unable to use for a time

I have a map with markers. Every marker is a charging station. I want that the user that want to use the charging station, can book the place for an hour for example and set a time that is shown. When ...
Anthony's user avatar
0 votes
0 answers
81 views

change marker color based on properties

This is my first time here on stackoverflow. I have a doubt. I marked some markers on my map (I used OpenStreetMap). On each marker I put a drop-down menu with choices. Based on these choices, the ...
Anthony's user avatar
0 votes
0 answers
1k views

Leaflet: Uncaught TypeError: Cannot read properties of null (reading '0')

I am trying to display a polygon on the map that can be flexibly updated by a reload. To do this, I call the data as follows: $.get('./load-polygon.php', function(csvString) { map....
OSMmapper's user avatar
0 votes
0 answers
88 views

OpenStreet map not rendering correctly

I am new to openstreetmap.Ihave included the code.The picture i get is I have used leaflet.js. I am very much new to open street map.Please help me.I am very much fond of openstreetmap. I want to add ...
sivan's user avatar
  • 77
0 votes
1 answer
334 views

Create an interactive map leaflet-ajax

In order to create an interactive map consisting of several layers I use the plugin leaflet-ajax with downloading of the files. geojson. When you direct at the object of the layer, the attribute ...
dimaolin's user avatar