Some functions related to layers (identify, toLayerCoordinates,
QgsRubberBand.addPoint) require the use of QgsPointXY instead of
QgsPoint in Qgis 3.0.
Other minor modifications to comply with QGis 3.0 API
(QgsMapLayer.isSpatial, QgsGeometry.fromPointXY).
Modifications have been made using QGis 3.0 api. We use a compatibility layer for monkey patching in Qgis 2.x, based on qgis2compat plugin by opengis.ch.
These changes have been tested on QGis 2.99 nightly-build (2017/01/05) and QGis 2.14LTR
Some functions related to layers (identify, toLayerCoordinates, QgsRubberBand.addPoint) require the use of QgsPointXY instead of QgsPoint in Qgis 3.0. Other minor modifications to comply with QGis 3.0 API (QgsMapLayer.isSpatial, QgsGeometry.fromPointXY). Modifications have been made using QGis 3.0 api. We use a compatibility layer for monkey patching in Qgis 2.x, based on qgis2compat plugin by opengis.ch. These changes have been tested on QGis 2.99 nightly-build (2017/01/05) and QGis 2.14LTR