Skip to content

add tile layer offset value - #68

Open
hanjianqiao wants to merge 2 commits into
AmonRaNet:masterfrom
hanjianqiao:master
Open

hanjianqiao wants to merge 2 commits into
AmonRaNet:masterfrom
hanjianqiao:master

Conversation

@hanjianqiao

Copy link
Copy Markdown

My tile map is offset from the actual coordinates, and I need to set an overall map offset to correct it.

auto osmLayer = new QGVLayerOSM();

// Optional, set OSM tile offset
// osmLayer->setTileGeoOffset(QGV::GeoPos(-0.0004, 0.0005));

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add instead need control components to custom-tiles demo (checkbox) to demo how it works. Generally I would not advise to have such commented code - it mean not much for people

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants