Questions tagged [thunderforest]

3 questions
2
votes
2 answers

How to pass Thunderforest API key to the R ggspatial package to create a map

I am creating maps using the rosm and ggspatial R package. The ggosm function is easy to use to extract a base map layer based on the spatial object provided. Here is an example. library(ggplot2) library(sp) library(rosm) library(ggspatial) ggosm()…
www
  • 38,575
  • 12
  • 48
  • 84
0
votes
0 answers

How to add qml map to qgraphicscene widget?

I want to add a qml map to qgraphicscene instead of qquickwidget, can anyone please help me do it fast? int main(int argc, char *argv[]) { QApplication app(argc, argv); QMainWindow window; QGraphicsScene* scene = new…
0
votes
1 answer

Latitude is not scaling the same way as longitude when plot on thunderforest/ openstreet map

I use the thunderforest API to plot points on a map. I figured out how to scale my longitude axis so that it fits the map, using this. Basically I know how width my map is in pixel and I know how many degree of longitude correspond to 256 pixel at…
Akut Luna
  • 191
  • 2
  • 10