A simple slippy map client built with Qt and OpenGL
ngoodnight / qtmapviewer Goto Github PK
View Code? Open in Web Editor NEWA simple slippy map client built with Qt and OpenGL
A simple slippy map client built with Qt and OpenGL
The tiles sometimes appear black and sometimes appear mixed of different MISMATCHED zoom levels. It's perfectly fine to have a tile of different zoom level scaled to current zoom level but being mismatched/mis-scaled is kind of issue.
After a long time I again stumbled across qtmapviewer and I though I should give it a try. What I noticed that pixelToLatLon() generates wrong values, As I print lat lon values just after line 27 in MapViewer.cpp i.e.
Line 27 in 0682e06
m_map_center = latlonToPixel(m_config.zoom_level, config.center);
qDebug()<<"Lat Lon: "<<pixelToLatlon(m_config.zoom_level, m_map_center);
so it should ouptut this -122.20877392578124, 37.65175620758778 because that's what used in the main.cpp and yet user hasn't panned the map to change the center of the map.
Line 100 in 0682e06
By the way, qtmapviewer is the only Qt OpenGL based map viewer which is neat and and to the point! I love it!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.