I did it! But there are some little bugs.. But idea is right. I was need to
transform degrees to mercator points manually.
Thanks!
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Problems-with-reprojecting-to-mercator-tp5082191p5084844.html
Sent from the Quantum GIS - Deve
Ok, how can i set extent to layers extent?
QgsApplication a(argc,argv, true);
QgsProviderRegistry::instance("/usr/local/lib/qgis/plugins");
a.setPkgDataPath(QDir::homePath() + QDir::separator() + ".harver/");
QgsMapCanvas *canvas = new QgsMapCanvas(0, 0);
First of all thanks for reply, Kaosmos
I wrote as you said.
m_mapCanvas->mapRenderer()->setProjectionsEnabled(true);
m_mapCanvas->mapRenderer()->setDestinationCrs(m_mapCanvas->pseudoMercator());
m_mapCanvas->mapRenderer()->setMapUnits(m_mapCanvas->pseudoMercator().mapUnits());
I created custom
Hey? Nobody knows how to do this?
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Problems-with-reprojecting-to-mercator-tp5082191p5083593.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-dev