Johannes Hofmann
f5f4e00d26
coord: Add some conversions and tests
7 years ago
Johannes Hofmann
d7a9681521
Render the map as a sphere
A work in progress...
7 years ago
Johannes Hofmann
86d79ff4e3
Fix test
7 years ago
Johannes Hofmann
d3c51824af
Add option --list-paths
7 years ago
Johannes Hofmann
71befdbef1
Update dependencies (glutin->winit is now 0.15.1)
7 years ago
Johannes Hofmann
d543ec8738
search: Fix bug and report all matching ways
7 years ago
Johannes Hofmann
e2f7171031
search: Find OSM ways in a second pass
search::par_search_blocking: Remember node ids for matching ways and
return the positions of these nodes in a second pass over the file.
7 years ago
Johannes Hofmann
e115c2acd1
search: Extract function for parallel blob iteration
7 years ago
Johannes Hofmann
247770609a
Fix window title with restored session
7 years ago
Johannes Hofmann
bfa801d2e3
Add option to store and restore last session
7 years ago
Johannes Hofmann
c64b1bf28e
Fix clippy warnings
7 years ago
Johannes Hofmann
2f257afb43
Add config key pbf_file
7 years ago
Johannes Hofmann
2120e9b16f
Speed up searching
* Decode/search in parallel
* Start decoding the first Blob as soon as possible
* Update multiple markers at once
7 years ago
Johannes Hofmann
fc394f3d20
Add coord::LatLon
7 years ago
Johannes Hofmann
13d366fc1d
Extract code into tile_layer module
7 years ago
Johannes Hofmann
ec1da095e8
Update dependencies
7 years ago
Johannes Hofmann
3ffbe5011c
search_pbf: Update closure can change control flow
7 years ago
Johannes Hofmann
ea610bdeaa
travis: Add Rust beta channel
7 years ago
Johannes Hofmann
5f47684dc4
Extract code into marker_layer module
7 years ago
Johannes Hofmann
b12e7885ed
Add search module
7 years ago
Johannes Hofmann
2f5db2e7ad
Fix marker visibility calculation
7 years ago
Johannes Hofmann
bea18cc290
Add some jobs to .appveyor.yml
7 years ago
Johannes Hofmann
f478fc1e07
Search Nodes in addition to DenseNodes
7 years ago
Johannes Hofmann
0f30790da8
Search PBF files and display matches as markers
Use the parameters -s and --pbf for this.
7 years ago
Johannes Hofmann
c430500e69
Support drawing markers
7 years ago
Johannes Hofmann
5891c0de46
Cache enabled vertex attributes, store params
* Cache the enabled vertex attributes in `Context`
* The vertex attribute parameters (offset, stride, ...) are not cached,
yet
* Store parameters as `VertexAttribParams` in `Program`
7 years ago
Johannes Hofmann
43ecb10350
context: Cache active buffer
This reduces calls to glUseBuffer.
7 years ago
Johannes Hofmann
4962639d01
context: Cache active program
This would reduce the calls to glUseProgram if there actually was more
than one program.
7 years ago
Johannes Hofmann
c7f1518897
Cache active texture unit, assign unit to texture
Each Texture is bound to a unique texture unit (glBindTexture is called
only once). Context keeps track of the current active texture unit and
reduces the number of glActiveTexture calls to a minimum.
7 years ago
Johannes Hofmann
d52ac36ff6
Fix clippy warning
7 years ago
Johannes Hofmann
38d1cf35e5
Restructure OpenGL context sharing
Program, Buffer, Texture... structs no longer store a reference to a
Context. Now it has to be passed explicitly to all methods that mutate
the OpenGL state. This enables caching the state and removing redundant
calls to gl* functions.
7 years ago
Johannes Hofmann
78bcd3a363
config: Improve logging
7 years ago
Johannes Hofmann
a215b897bb
main: Simplify event handling
and only call glViewport once per frame when resizing.
7 years ago
Johannes Hofmann
43e33e7072
Use directories crate instead of xdg
This should improve platform independence.
7 years ago
Johannes Hofmann
18111f53e8
map_view: Fix zoom calculation for pixel snapping
7 years ago
Johannes Hofmann
5f0777c521
url_template: Small doc fixes
7 years ago
Johannes Hofmann
02f1f9c9d6
Add .appveyor.yml
7 years ago
Johannes Hofmann
19e28a35d8
Don't call glClear when map fills the whole screen
7 years ago
Johannes Hofmann
d2da35fd1c
Only snap to pixel grid if zoom has integral value
7 years ago
Johannes Hofmann
639c9f945f
Add module url_template
7 years ago
Johannes Hofmann
b26ef4c333
Use Display trait for more readable error messages
7 years ago
Johannes Hofmann
abb562f412
map_view_gl: Specify min and max zoom level
7 years ago
Johannes Hofmann
ff177a2d40
Advance in integer zoom levels with step zoom
7 years ago
Johannes Hofmann
fcbad65155
Fix clippy warnings
7 years ago
Johannes Hofmann
fb8dc48b3b
travis: Pin Rust 1.24 as minimum supported version
7 years ago
Johannes Hofmann
f5bef94f35
Update glutin (to 0.16) and other dependencies
7 years ago
Johannes Hofmann
56ad75b327
Update glutin (to 0.15), image (to 0.19) & others
7 years ago
Johannes Hofmann
8eb2c1c3c2
Move tile sources configuration to separate file
7 years ago
Johannes Hofmann
fbdabc2c72
Update glutin (to 0.14) and other dependencies
7 years ago
Johannes Hofmann
ebd1439bc0
Update glutin (to 0.13) and other dependencies
7 years ago