Johannes Hofmann
c8959c4fdc
coord: Add TileCoord::globe_norm
пре 7 година
Johannes Hofmann
e64385d0ca
Add TileCoord::children_iter method and Iterator
пре 7 година
Johannes Hofmann
cfbf9d20fa
globe_tile_layer: Add missing tiles to globe's edge
пре 7 година
Johannes Hofmann
f482a08091
coord: Fix conversion edge cases
This removes the holes of the globe at the poles.
пре 7 година
Johannes Hofmann
d51ed6a905
globe_tile_layer: Combine transformation matrices
пре 7 година
Johannes Hofmann
7034b667a9
Fix seams between globe tiles
пре 7 година
Johannes Hofmann
408f7da93e
Rename coord::LatLon -> coord::LatLonDeg
пре 7 година
Johannes Hofmann
f5f4e00d26
coord: Add some conversions and tests
пре 7 година
Johannes Hofmann
d7a9681521
Render the map as a sphere
A work in progress...
пре 7 година
Johannes Hofmann
86d79ff4e3
Fix test
пре 7 година
Johannes Hofmann
d3c51824af
Add option --list-paths
пре 7 година
Johannes Hofmann
71befdbef1
Update dependencies (glutin->winit is now 0.15.1)
пре 7 година
Johannes Hofmann
d543ec8738
search: Fix bug and report all matching ways
пре 7 година
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 година
Johannes Hofmann
e115c2acd1
search: Extract function for parallel blob iteration
пре 7 година
Johannes Hofmann
247770609a
Fix window title with restored session
пре 7 година
Johannes Hofmann
bfa801d2e3
Add option to store and restore last session
пре 7 година
Johannes Hofmann
c64b1bf28e
Fix clippy warnings
пре 7 година
Johannes Hofmann
2f257afb43
Add config key pbf_file
пре 7 година
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 година
Johannes Hofmann
fc394f3d20
Add coord::LatLon
пре 7 година
Johannes Hofmann
13d366fc1d
Extract code into tile_layer module
пре 7 година
Johannes Hofmann
ec1da095e8
Update dependencies
пре 7 година
Johannes Hofmann
3ffbe5011c
search_pbf: Update closure can change control flow
пре 7 година
Johannes Hofmann
ea610bdeaa
travis: Add Rust beta channel
пре 7 година
Johannes Hofmann
5f47684dc4
Extract code into marker_layer module
пре 7 година
Johannes Hofmann
b12e7885ed
Add search module
пре 7 година
Johannes Hofmann
2f5db2e7ad
Fix marker visibility calculation
пре 7 година
Johannes Hofmann
bea18cc290
Add some jobs to .appveyor.yml
пре 7 година
Johannes Hofmann
f478fc1e07
Search Nodes in addition to DenseNodes
пре 7 година
Johannes Hofmann
0f30790da8
Search PBF files and display matches as markers
Use the parameters -s and --pbf for this.
пре 7 година
Johannes Hofmann
c430500e69
Support drawing markers
пре 7 година
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 година
Johannes Hofmann
43ecb10350
context: Cache active buffer
This reduces calls to glUseBuffer.
пре 7 година
Johannes Hofmann
4962639d01
context: Cache active program
This would reduce the calls to glUseProgram if there actually was more
than one program.
пре 7 година
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 година
Johannes Hofmann
d52ac36ff6
Fix clippy warning
пре 7 година
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 година
Johannes Hofmann
78bcd3a363
config: Improve logging
пре 7 година
Johannes Hofmann
a215b897bb
main: Simplify event handling
and only call glViewport once per frame when resizing.
пре 7 година
Johannes Hofmann
43e33e7072
Use directories crate instead of xdg
This should improve platform independence.
пре 7 година
Johannes Hofmann
18111f53e8
map_view: Fix zoom calculation for pixel snapping
пре 7 година
Johannes Hofmann
5f0777c521
url_template: Small doc fixes
пре 7 година
Johannes Hofmann
02f1f9c9d6
Add .appveyor.yml
пре 7 година
Johannes Hofmann
19e28a35d8
Don't call glClear when map fills the whole screen
пре 7 година
Johannes Hofmann
d2da35fd1c
Only snap to pixel grid if zoom has integral value
пре 7 година
Johannes Hofmann
639c9f945f
Add module url_template
пре 7 година
Johannes Hofmann
b26ef4c333
Use Display trait for more readable error messages
пре 7 година
Johannes Hofmann
abb562f412
map_view_gl: Specify min and max zoom level
пре 7 година
Johannes Hofmann
ff177a2d40
Advance in integer zoom levels with step zoom
пре 7 година