Commit Graph

87 Commits (feature/trainlines-wip)

Author SHA1 Message Date
Markus Koch f36d3cf0e7 Update to the latest version of lifo-dijkstraserv 2021-02-04 23:53:17 +01:00
Markus Koch fcc26a7fa5 Add mouse coordinate display to bottom left 2020-06-14 12:02:32 +02:00
Markus Koch 134d70dc9f Fix indentation 2020-06-11 10:54:14 +02:00
Markus Koch cf5dccbc3a Fix button behavior in editor
Stop event propagation of mouse up / down events.
2020-05-08 17:18:10 +02:00
Markus Koch e936b0c35b Add vector data only mode (map none) 2020-05-06 17:42:48 +02:00
Markus Koch 92ab599d75 Add directions support through lifo-dijkstraserv 2020-05-05 19:50:47 +02:00
Markus Koch f1105ccc45 Add waterway symbols 2020-05-05 19:48:27 +02:00
Markus Koch b0adb91c69 Make street label collision flag a function 2020-05-05 19:47:57 +02:00
Markus Koch 2054d66191 Fix property name check in streetlabels 2020-05-05 19:44:05 +02:00
Markus Koch 3610b8b610 Merge branch 'dev' of git.notsyncing.net:markus/lifomapserver into dev 2020-05-02 14:17:49 +02:00
Markus Koch 3d0afc953e Extract categories, description, and thumbnail from rendered HTML pages 2020-04-30 18:29:53 +02:00
Markus Koch 806348e676 Clean up links, open links in new tab 2020-04-27 17:49:16 +02:00
Markus Koch 9bdb4095a7 Merge branch 'dev' of git.notsyncing.net:markus/lifomapserver into dev 2020-04-27 17:38:25 +02:00
Markus Koch 05238dc5ae Add categories for markers
This commit obsoletes the many fetch scripts and combines them
into a single script, creating a single json, but with category
information.
2020-04-27 17:38:19 +02:00
Markus Koch 4d2fc5e739 Ignore districts for now
They are not yet implemented on the map and would only clutter
the map.
2020-04-26 23:07:43 +02:00
Markus Koch c7c4975a57 Optimize font sizes for city outlines 2020-04-26 18:48:18 +02:00
Markus Koch 2e67f22044 Add optional markers for direct location links 2020-04-26 17:55:32 +02:00
Markus Koch ff716d1036 Add script to update all Maps:-based jsons 2020-04-26 17:30:59 +02:00
Markus Koch 916914d4e9 Update gitignore to exclude .json files in scripts/ 2020-04-26 17:29:46 +02:00
Markus Koch a1c50a3cfb Move Maps:-based scripts to separate directory 2020-04-26 17:28:37 +02:00
Markus Koch 98cd0c8fe9 Properly quote in fetch scripts 2020-04-26 17:22:44 +02:00
Markus Koch 2f02ca1d2a Trigger update_street_width functionality only on streets 2020-04-26 17:02:14 +02:00
Markus Koch 1ddb724140 Give cities, towns, and villages different font sizes 2020-04-26 17:01:26 +02:00
Markus Koch 1292c1a573 Change title and footer 2020-04-25 18:19:39 +02:00
Markus Koch f7000d1c5c Correct instructions 2020-04-25 18:16:16 +02:00
Markus Koch 4aa26434f8 Fix restart through clearing the coordinate list 2020-04-25 18:14:28 +02:00
Markus Koch 777905e7f1 Press escape in the editor to stop drawing 2020-04-25 18:08:23 +02:00
Markus Koch 035eb5a992 Add editor styling
This function is only partially working atm. It only applies
the style when resuming an existing dataset. When starting
from scratch, the default style will be used.
2020-04-25 18:08:02 +02:00
Markus Koch 5b5ce97a1a Fix search behavior
Before, it was always searching for the current term without
the last entered (or with the last deleted) character. This
behavior is fixed now. Also, an empty query will now match
(hopefully) nothing instead of everything.
2020-04-25 17:34:33 +02:00
Markus Koch d229044ebf Fix coordinate order on popover, clean up resolve_latlng 2020-04-25 17:21:38 +02:00
Markus Koch 6a779db77b Add city outline fetcher script 2020-04-25 17:08:19 +02:00
Markus Koch f17bf1ebb0 Remove necessity for php tile resolution script
The conversion script now generates a proper directory
structure with z/y/x coords in the path.
2020-04-25 16:43:55 +02:00
Markus Koch 105dc4d3da Add tile ID conversion php file 2020-04-25 15:56:50 +02:00
Markus Koch a4c7833d87 Clean up 2020-04-25 13:33:34 +02:00
Markus Koch 6ceae7d7c2 Add polygons (city outlines) to search results 2020-04-25 13:33:13 +02:00
Markus Koch 771704bf15 Add basic support for city outlines
Use with load_geojson(
	"Cities (outline, demo)",
	"./geojson/cities_demo.json",
	"outline",
	"black",
	1,
	style_outlines);
2020-04-25 13:08:14 +02:00
Markus Koch 3cb3078820 Add editor mode for polygons 2020-04-20 18:51:10 +02:00
Markus Koch ae47583e2d Fix searh for terms and results including HTML chars 2020-04-20 18:40:22 +02:00
Markus Koch cfeafc11d9 Update street width depending on zoom level 2020-04-20 18:39:48 +02:00
Markus Koch 26972c366e Render labels for polygons 2020-04-20 18:01:32 +02:00
Markus Koch 4c5f7f9a85 Do not show label on path for polygons 2020-04-20 18:01:14 +02:00
Markus Koch b9986f0b42 Scale street labels depending on zoom level 2020-04-20 17:57:49 +02:00
Markus Koch be16cf2f6e Automatically disable anti-aliasing on high zoom levels 2020-04-20 00:02:28 +02:00
Markus Koch b2958f15d7 Remove debug code 2020-04-19 23:29:16 +02:00
Markus Koch 9bac7e4678 Highlight search result streets in red 2020-04-19 23:28:54 +02:00
Markus Koch bfaacd813b Add street names to search 2020-04-19 23:09:26 +02:00
Markus Koch 9c703b50aa Import L.LabelTextCollision.js and ctxtextpath.js into repo 2020-04-19 22:47:35 +02:00
Markus Koch 94c05d5358 editor: Center on object after loading new coords 2020-04-19 22:26:35 +02:00
Markus Koch ba466fe474 leaflet-streets: Improve orientation detection for street names 2020-04-19 22:00:35 +02:00
Markus Koch be65b093a1 Include Leaflet.streetlabels.js in repository 2020-04-19 21:58:35 +02:00