mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2024-11-23 19:25:55 +01:00
Increase major version due to the API change
The API should be backward compatible but the overzoom extension should rather be promoted with a major version number change.
This commit is contained in:
parent
3ef6c55d20
commit
c86eb7bac2
@ -1,4 +1,4 @@
|
|||||||
version: 2.7.{build}
|
version: 3.0.{build}
|
||||||
|
|
||||||
configuration:
|
configuration:
|
||||||
- Release
|
- Release
|
||||||
|
@ -41,8 +41,8 @@ reader.read(&img);
|
|||||||
you will get 1024x1024px tiles with a pixel ratio of 2 (= HiDPI tiles).
|
you will get 1024x1024px tiles with a pixel ratio of 2 (= HiDPI tiles).
|
||||||
|
|
||||||
### Overzoom
|
### Overzoom
|
||||||
Since version 2.7 tile overzoom is supported. If you set *format* to
|
Since version 3 of the plugin tile overzoom is supported. If you set *format*
|
||||||
`$zoom;$overzoom`:
|
to `$zoom;$overzoom`:
|
||||||
```cpp
|
```cpp
|
||||||
QPixmap pm;
|
QPixmap pm;
|
||||||
QByteArray fmt(QByteArray::number(zoom) + ';' + QByteArray::number(overzoom));
|
QByteArray fmt(QByteArray::number(zoom) + ';' + QByteArray::number(overzoom));
|
||||||
|
@ -2,7 +2,7 @@ TARGET = pbf
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
CONFIG += plugin
|
CONFIG += plugin
|
||||||
QT += gui
|
QT += gui
|
||||||
VERSION = 2.7
|
VERSION = 3.0
|
||||||
|
|
||||||
PROTOS = protobuf/vector_tile.proto
|
PROTOS = protobuf/vector_tile.proto
|
||||||
include(protobuf/vector_tile.pri)
|
include(protobuf/vector_tile.pri)
|
||||||
|
Loading…
Reference in New Issue
Block a user