Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "leaflet"
-
Computer Science Teacher: everyone do a route in PowerPoint
Me: Can I do it in HTML + Leaflet?
CST: Yes, but it would be easier to do in PowerPoint.
-- trim --
* opens up Glitch *
* creates new project *
* imports Leaflet *
* connects OSMs *
* connects Google Maps thru GoogleMutant *
-- trim of interesting story how I copypaste coordinates from Google Maps into polyline with my grandma telling me where anyting is (our village is poorly mapped) --
Me: thank grandma
* project finally done *
-- the following day --
Nobody did the map with a route
Me: yay
* shows map *
* a bully asks what app I used to make it *
* I said that the entire app is a huge app *6 -
Amdy's story.
Amdy didn't have it easy. He's just a little APU and was already outdated when he was manufactured. But it got even worse! He didn't do anything wrong, but upon assembly, they lasered a different part number on him.
He didn't think much about it, but then they denied him all the goodies his brothers got: a nice printed box, a cooler, a leaflet, and a sticker.
Amdy didn't get any of that and wasn't welcome in the boxed camp. Instead, they stuffed him into a shoddy tray cardboard box with just some ESD foam for the pins.
Amdy was disappointed. That was just not fair! He was capable like his brothers. To add insult to injury, not even the manufacturer wanted to give warranty on the poor ugly duckling. They didn't listen to his complaints and shipped him to an unknown fate.
Then our roads crossed because Amdy was 10 EUR cheaper than the boxed ones at that point. Little Amdy breathed heavily when he finally got out of the mini box and seemed a bit disoriented. Poor little sod, what did they do to you?
Then he spotted the cooler. He had never seen anything like this before, so much better than the coolers his boxed brothers had received! And even top of the line thermal paste!
Amdy decided to be as good and fast a processor as a small Zen+ APU could possibly be. What was that software stuff? Didn't look like Windows. Ooohhh - Amdy rejoiced when he figured out that he was supposed to run Linux!
And that's how a despaired and unhappy APU finally found a life full of goodness.6 -
It happened with a company that makes the audio Codecs for Apple (you guessed it right).
It was supposed to be the most pleasant interview ever but not exactly. Here's the thing, the interview went so well that the HR explained all the benefits for its employees and handed me a copy of a leaflet containing so. In the end, as they were walking me to the door, the HR lady told me "you are staying here, you don't have to look anymore" as they were walking me to the door.
Well, everything I did from my end was perfect. Thank you emails and follow-ups blah blah. But not a single answer from their end regarding any decision.
This was the worst feeling to me.1 -
I'm very much done with searching for this as I've been doing it for a trillion years and still don't have a goddamn good working example.
Does anyone know how one can properly render pbf tiles with a custom style in either leaflet or open layers?
Leaflet VectorGrid is a no go as it can't render any names (streetnames etc) and I can't fucking figure out how to use Leaflet VectorTileLayer.
Leaflet would be preferred as I've written everything with leaflet till now but anything working would be great 😬5 -
Have you ever worked with leaflet.js to display openstreetmap? I do and its great.
But now I want to display multiple markers on a map and the map somehow only renders random three markers. Wtf?
I'm lost. All results on google show me how to do it right, but it just doesn't work.16 -
Create a p2p version of Google Maps / OpenStreetMap that uses people's browsers to store the map tiles of "their region".
Started already by building a proof-of-concept called p2p-fetch[1] (uses GunDB under the hood) and mixing it with the awesome Leaflet library.
[1] https://github.com/davide/p2p-fetch2