Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Funny how I made almost exactly the same but for maps.

I needed a way to share a link to a map, with drawings and the ability for the receiver to see their own location on the map.

Annotated screenshots solves the first but not the second.

Vibe engineered this, with many of the same ideas as OP.

Took an evening. Just in time apps for one specific use case is a thing.

And because it's so cheap to make and can be hosted cheaply with no backend, it can be given away for free.

https://nyman.re/mapdraw/#l=60.172108%2C24.941458&z=16&d=LU8...



> Vibe engineered

While I'm all for vibe coding as appropriate, there's a lot of humor to be found it calling it engineering. :D


this is not something I came up with, Simon wrote it and I liked the differentiation between "vibe coding" where there is less effort

for this case project I think I would actually go back and say it's vibe coded, but I didn't want to just call it vibe coding because I did spend time going back and forth and directing the agent

https://simonwillison.net/2025/Oct/7/vibe-engineering/


Interesting distinction. I've previously heard vibe coding described as "vibe prompting, but you actually do some work." That aside though, I just call what you're describing as coding with AI.


coding with AI is coding just as much as coding with VSCode is coding. you decide which parts you get help from a given tool and which you don’t. end of the day, it is all coding and “coding with AI” sounds as silly as “coding with keyboard / microphone”


The first part is exactly my point, but the latter is nonsense in my book. You cannot ask VSCode (pre-AI) to write a program for you. It's akin to doing math with AI vs. an Nspire CAS. There's no reason to think you need to respond to those who shame vibe coding with claims that we shouldn't differentiate our tools, but we also shouldn't just say it's all the same. We wouldn't claim that about farming with a laser-powered weed killer compared to farming with a horse-drawn plow.


I suspected it needed to be directed with a specification to call it vibe engineered


Fair. Though it seems that half of engineering is just giving a respectable name to whatever actually works.


For software, but that's a well trodden path at this point. I've seen a few projects that are actually "vibe engineering" outside of software on the 3d modeling side so the terms are confusing.


I've been a fan of Design-Assisted Developer or DAD


What is funny about it?


I just hope actual engineers don't start vibe engineering bridges and buildings.


I put a copy of the source on GH in case in case someone wants to improve things https://github.com/gnyman/mapdraw


Great tool! There is a little issue with the +/- zoom buttons not working something cause it is over layed by other div blocks. On mac firefox.

Is the code open source online somewhere?


thanks for the info, I'll see if I can get a agent to fix it

it's a static webpage, the source is available with right-click view source, I added a BSD2 licence header to it to make clear it's fine to take and do mostly whatever with


Yeah just would be good on a codeberg or gitlab or maybe even github repo. So we can do PR.

Here is the fix:

.leaflet-top, .leaflet-left{ z-index: 100000; /* some high number */ }


hmm, I tried it on firefox and it works for me, and for me .leaflet-top already has a high z-index: 1000;

although I run 140.6.0esr so maybe newer ones need a even higher one?

the code is on GH now https://github.com/gnyman/mapdraw , codeberg is on my todo


Could try the hacky 2147483647 max z-index. No issue on android firefox


I did the same thing for running routes e.g. https://routespinner.com/@52.516247,13.379374,15z#route=cbp_...


This is pretty cool!

And if you are open to bug reports.. if I move around the drawings move smoothly with the map, but if I zoom in/out the drawings move only after the map zooming animation ends, rather than smoothly


That is absolutely great! Using it now to plan a trip.

Could we also add text annotations? Also the delete button could delete just the last shape or a selected shape so as not to start over?


Looks useful but doesn't work quite as expected for me.

In Vivaldi location tracking doesn't work. Version 7.7.3851.66 (Official Build) (64-bit) Chromium Version 142.0.7444.245 Extended Stable channel (may also include additional security patches) Channel Official Build Platform / OS Linux - linuxmint 21.3

And in Firefox 146.0.1 on the same machine the URL doesn't get updated.


But not well tested. Try to create a map and copy the url to another map. Now change the first map with more anotations or move the map center and copy the generated url and paste it into the other map on the other browser. That does not work (at least for me on different browsers).


I think I know what you mean, thanks for the report, if you modify the # part on a webpage it's not the same as reloading it, and I doubt I watch for that part changing


This is so cool!! The responsiveness of the page is so much better than any maps app I have used.


yeah, isn't it impressive how fast modern computers can be if you make a bit of effort, in this case I think I told it to just use plain javascript and make sure it's fast :-)


Love this. Can't tell you how many times I've screenshotted maps then drawn on directions for family/friends. Great idea.


Is this open source?


it's a static webpage, the source is available with right-click view source, I added a BSD2 licence header to it to make clear it's fine to take and do mostly whatever with


Really cool—this is the fastest-loading map I’ve ever used.


This is very cool!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: