Skip to content
Permalink
Browse files
Expose QgsCoordinateReferenceSystem to QML
  • Loading branch information
m-kuhn committed Aug 30, 2016
1 parent 15dd295 commit d6a4ab1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
@@ -449,6 +449,7 @@ SET(QGIS_CORE_MOC_HDRS
qgsapplication.h
qgsbrowsermodel.h
qgscontexthelp.h
qgscoordinatereferencesystem.h
qgscredentials.h
qgsdataitem.h
qgsdataprovider.h
@@ -616,7 +617,6 @@ SET(QGIS_CORE_HDRS
qgsconnectionpool.h
qgscontexthelp.h
qgsconditionalstyle.h
qgscoordinatereferencesystem.h
qgscoordinatetransform.h
qgscoordinateutils.h
qgscrscache.h
@@ -184,6 +184,8 @@ typedef void ( *CUSTOM_CRS_VALIDATION )( QgsCoordinateReferenceSystem& );
*/
class CORE_EXPORT QgsCoordinateReferenceSystem
{
Q_GADGET

public:

//! Enumeration of types of IDs accepted in createFromId() method
@@ -246,7 +248,7 @@ class CORE_EXPORT QgsCoordinateReferenceSystem
* @returns matching CRS, or an invalid CRS if string could not be matched
* @note added in QGIS 3.0
*/
static QgsCoordinateReferenceSystem fromEpsgId( long epsg );
Q_INVOKABLE static QgsCoordinateReferenceSystem fromEpsgId( long epsg );

/** Creates a CRS from a proj4 style formatted string.
* @param proj4 proj4 format string

0 comments on commit d6a4ab1

Please sign in to comment.