Biểu trưng OpenStreetMap OpenStreetMap

FIX THE MAP

Do SimonPoole đăng vào 01 tháng 05 năm 2014 bằng English.

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

Biểu tượng thư điện tử Biểu tượng Bluesky Biểu tượng Facebook Biểu tượng LinkedIn Biểu tượng Mastodon Biểu tượng Telegram Biểu tượng X

Thảo luận

Bình luận của andrewsh vào 1 tháng 05 năm 2014 lúc 15:55

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.

Bình luận của SimonPoole vào 1 tháng 05 năm 2014 lúc 16:00

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.

Bình luận của RobJN vào 1 tháng 05 năm 2014 lúc 18:14

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.

Bình luận của RobJN vào 8 tháng 02 năm 2015 lúc 00:54

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

Đăng nhập để nhận xét