Open main menu

Changes

Hitchwiki:Maps

2,125 bytes removed, 13:37, 28 March 2023
no edit summary
[[Image:Maps_Badge== Hitchmap.png|right]]New Maps will be published soon. There are still some little bugs'n'testing to do, so:com ==
===[http[User:Bob-|Bob]] built [[:hitchmap://yoshi|hitchmap.mega2000com]].de/~simison/mapsAnyone can add new spots! Around 50 new spots have already been added.hitchwikiData is open, download link's in the bottom right corner.org/ Go a head, try it!]===
You can do what ever you want to - try to crash it! Database will be reseted afterwardsSource code is at https://github.com/bopjesvla/hitch
[http://githubActive discussion on the {{matrixchat}} in November 2022.com/MrTweek/maps.hitchwiki.org/ Sources @ GitHub]
=Comments= Heatchmap ==''So how did you like it?'' You can also comment Using the data from the Hitchwiki-Map, there was one (the first) published for Europe [httphttps://www.facebookreddit.com/posted.php?id=133644853341506&share_id=167990209881312&r/MapPorn/comments=1#s167990209881312 /bwf35p/hitchhiking_map_with_the_average_waiting_times_of/ on FacebookReddit] in 2019 using the following method [https://abelblogja.wordpress.com/average-waiting-times-in-europe/ method].
== Useful pointers ==
=Bugs='''Go and hunt 'em! And list them to here if you find any* https://hitchwiki.'''org/dumps
* Translations don't work in Hitchwiki serverStore hitch spots on OpenStreetMap? https://wiki.openstreetmap.org/wiki/Proposed_features/Hitchhiking
* JS doesn't find where orange cursor is on 2nd attempt when adding new place
**1) Click add place
**2) JS finds coordinates and gives you an address for the place where cursor is
**3) Close adding place
**4) Click again add place
**5) Now it doesn't find
* Dragging'n'dropping orange "add place" -cursor gets disabled randomly(?)== To do ==
* When adding place as an event, popup calendar of date-inputs can go too much to the right and cut out from the screen=== embedded maps on hitchwiki ===
Would be nice to get this working again:
* Country names in some languages needs some fixing<map lat='47' lng='1.5' zoom='5' view='0' height='320' country='France'/>
* Text area width can cut out with some browsers (Linking -popup)=== offline usage ===
 * Country mouse hover popups look funny (update local graphics for openlayers?)  * You App that downloads the spots so you can open same card multiple times  * Cards don't close when opening new page   * When opening a place with lots of comments (eg. http://yoshi.mega2000.de/~simison/maps.hitchwiki.org/?place=3266 ), the page might be too high and scrolls down a bit. At least with opera mac. =TODO= * Connect userlogin to the mediawiki login** http://www.mediawiki.org/wiki/API:Login** See lib/mediawiki_login.php - started something, but not connected to any functionality** Combine with lib/login.php and /logout/ ? * Move ajax-called .php's to their own directory from /lib/ - use it's a bit messyoffline. Maybe /lib/ajax/ * Widget** /widget.php -> /widget/ - just nicer** Show area by country** Show link to Ideally also the big map (permalink) * Download** Downloading KML-format files from Download** Zipped downloads (gzm)** Count of markers in the world** Count whole of markers in the visible map area * FB-connect** Usually makes a big difference on login amounts * Spam protection** We're already saving IP's and timestamps * Allowing users to write translated descriptions HTML/JS mostly done, just API backend TODO.  * Allow users to edit descriptions * Allow deleting your own waitingtimes * Clickable usernames around the site * Loading animation when changing public transport catalog -country? * Pagination for comments, users etc.  =Ideas= * Using a Google Street view API (check lisence)* Showing [http://www.panoramio.com/ Panoramio] images* Showing photos added to Hitchwiki* Adding photos to a place?* Show links to infopages about public transportation in city* If using FB-Connect, why not OpenID like on hitchwiki? :)** I know only how to implement FB-connect. But sure OpenID also. ;-) Anyway we need to look how we'll do this, maybe allowing registerations trough MediaWiki would be the best solution and then just using user-db for extra settings in Mapsof course. -[[User:Mikael|Mikael]]