Johannes Hofmann
5b15ecdbda
Display ways in path_layer
7 lat temu
Johannes Hofmann
a06413fea1
Update gl_generator
7 lat temu
Johannes Hofmann
fddcde0bf3
Update dependencies
7 lat temu
Johannes Hofmann
8f71929195
Add path_layer
Draw paths with round joins, round caps and anti-aliasing.
7 lat temu
Johannes Hofmann
d21337af83
Add KeyValueRegex query (-r)
7 lat temu
Johannes Hofmann
821b66e3a6
Update osmpbf (to 0.1.11) and others
7 lat temu
Johannes Hofmann
e3213d4661
Release 0.2.1
7 lat temu
Johannes Hofmann
f2568f42a3
Update dependencies
7 lat temu
Johannes Hofmann
b2ad3b8d9f
search: Allow intersection of multiple queries
7 lat temu
Johannes Hofmann
4514eeddc8
Cargo.lock: Update version of self
7 lat temu
Johannes Hofmann
01b6f4b34c
Release 0.2.0
7 lat temu
Johannes Hofmann
13da723ee5
Update dependencies
7 lat temu
Johannes Hofmann
13af8af8dd
OrthograficView::move_pixel: Adjust for zoom
7 lat temu
Johannes Hofmann
437b30d964
Adjust zoom when switching between projections
7 lat temu
Johannes Hofmann
f484a3193d
Remove map_view
Move functionality to orthografic_view and mercator_view.
7 lat temu
Johannes Hofmann
9a6e7d71d5
Update dependencies, min Rust version to 1.26.2
7 lat temu
Johannes Hofmann
67b549d0c2
Toggle marker visibility with Ctrl+M
7 lat temu
Johannes Hofmann
66fb1d8f02
Fix README.md link
7 lat temu
Johannes Hofmann
f70407d4ce
Move MIN_ZOOM_LEVEL, MAX_ZOOM_LEVEL to map_view
7 lat temu
Johannes Hofmann
2d3600907d
README.md: Add compilation instructions
7 lat temu
Johannes Hofmann
41c480b1d1
Fix code that assumes that tiles touch the poles
Web-mercator tiles don't touch the poles.
7 lat temu
Johannes Hofmann
755ea56825
Fix tile loading discontinuity at 180th meridian
Tiles near the viewport center should be loaded first. This commit
fixes a discontinuity in the distance function that is used to sort the
queue of requested tiles.
7 lat temu
Johannes Hofmann
3dbfa7769d
query::KeyValueQuery: Use raw tags for dense nodes
7 lat temu
Johannes Hofmann
b95968c3ed
Update dependencies, min Rust version to 1.25.0
crossbeam-utils needs Rust >= 1.25.0
7 lat temu
Johannes Hofmann
b3149bc777
Accelerate key-value queries
by examining the stringtable for each PrimitiveBlock before iterating
over the contained elements.
7 lat temu
Johannes Hofmann
f974ea1701
Add key-value queries
* Add --keyval command line option to search for elements with a
specific tag
* Add query module and Query trait to abstract over different types of
queries
7 lat temu
Johannes Hofmann
f07306b538
Update dependencies
7 lat temu
Johannes Hofmann
1e62ec6a99
Update directories (to 1.0)
7 lat temu
Johannes Hofmann
98a1ace781
Add windows_subsystem crate attribute
7 lat temu
Johannes Hofmann
9a40c6dfb7
Fix virtual key code mapping for zooming
7 lat temu
Johannes Hofmann
d9d2dd7e3c
Log winit events at trace level
7 lat temu
Johannes Hofmann
63531915dd
Use high precision for all shaders
medium precision causes visible seams between tiles on some drivers.
7 lat temu
Johannes Hofmann
bb87e09bc1
Update glutin (to 0.18)
7 lat temu
Johannes Hofmann
f95d4268c8
Add OrthograficView::zoom_at
which only includes a dummy implementation.
7 lat temu
Johannes Hofmann
76666e804c
Update dependencies
7 lat temu
Johannes Hofmann
f0dcd3a80c
Fix OrthograficView::covers_viewport
7 lat temu
Johannes Hofmann
4b7f8419c0
Remove some superfluous calls to check_gl_errors
7 lat temu
Johannes Hofmann
87739486fd
OrthograficView::radius_physical_pixels -> diameter_*
7 lat temu
Johannes Hofmann
15c9e053e9
{mercator,orthografic}_view: Convert ScreenCoords
Add functions to convert screen coordinates to MapCoord/LatLonRad.
7 lat temu
Johannes Hofmann
03c33086ba
Spherical tile visibility, part IV
Partial solution. Check AABB of tile vertices.
7 lat temu
Johannes Hofmann
2651bfe138
Fix clippy warnings
7 lat temu
Johannes Hofmann
b3e327b59c
Add overly dramatic atmosphere layer
Toggle with Ctrl+h
7 lat temu
Johannes Hofmann
1bad7a91bd
Also draw markers in orthografic view
7 lat temu
Johannes Hofmann
b3dc228f1e
Remove redundant viewport parameter from draw fns
7 lat temu
Johannes Hofmann
2642342dab
Add module projection, store projection in Session
and restore the projection of the last session.
7 lat temu
Johannes Hofmann
69a245c187
Fix accuracy issue at high zoom levels in ortho view
This now uses an f64 transformation matrix (instead of f32) to transform
points on the sphere to screen coordinates. Conversion to f32 vertex
positions happens as a last step before uploading to a GPU buffer.
7 lat temu
Johannes Hofmann
6269775c2c
buffer: Add missing draw modes
7 lat temu
Johannes Hofmann
7d5997991a
Improve tile rendering in orthografic view
* Reach feature parity with mercator view:
* Resize tile atlas to reduce draw calls
* Fill in tiles from other zoom layers
7 lat temu
Johannes Hofmann
d92bde5ac4
Add trait tile_atlas::VisibleTilesProvider
This enables the implementation of TileAtlas::textured_visible_tiles for
different kinds of visible tiles, e.g. for different layers.
7 lat temu
Johannes Hofmann
7a3a12aa68
Rename tile_layer -> mercator_tile_layer
and TileLayer -> MercatorTileLayer
7 lat temu