OpenStreetMap 로고 OpenStreetMap

FIX THE MAP

SimonPoole님이 English로 2014년 5월 1일에 게시함.

It seems, even though it has been available for quite a while, that the fixthemap page on openstreetmap.org is still not particularly well known. If you have an OSM based project and you don’t want to create your own page for this purpose (as for example Mapbox has done now too) please provide a link to the page with a suitable text. You can provide coordinates with the URL (best probably the center of the map the user is viewing) and if the user chooses to add a note it will be positioned correctly.

An example of how to do this is for example the SOSM run osm.ch site: http://www.osm.ch/#13/47.2095/8.5237

이메일 아이콘 Bluesky 아이콘 Facebook 아이콘 LinkedIn 아이콘 마스토돈 아이콘 텔레그램 아이콘 X 아이콘

토론

2014년 5월 1일 15:55andrewsh님의 의견

I’ve noticed this page doesn’t detect if the user’s already logged in: Start Mapping button still points to osm.org/user/new, not to osm.org/edit. That probably needs fixing.

2014년 5월 1일 16:00SimonPoole님의 의견

Well the expectation wasn’t really that it would be used as a short cut for people that are already mappers, but I agree we could simply display two buttons “Edit at current position” and “Create note at current position” and zap all the rest of the text for people that are logged in.

2014년 5월 1일 18:14RobJN님의 의견

Ah that’s how you do it. With the old ?lat… style rather than the # style.

Thanks Simon.

Will aim to add it to the Mappa Mercia site.

2015년 2월 8일 00:54RobJN님의 의견

I forgot that I said I was going to add this to Mappa Mercia maps. Well I’ve done it on the mapnik one now as a test. We are doing seperate pages for each map so I’ve stripped out the stuff to do with multiple layers on osm.ch but my webskills are not great so I’m not sure if I got it right. I was a bit confused by the var attribs = []; and var prefixAndAttribs = []; sections.

Any chance you could take a quick look at the page source:

http://www.mappa-mercia.org/fullscreen-maps/mapnik/

Cheers, Rob

댓글을 남기려면 로그인하세요