Java Code Examples for mil.nga.geopackage.GeoPackage#verifyWritable()
The following examples show how to use
mil.nga.geopackage.GeoPackage#verifyWritable() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TileGenerator.java From geopackage-android with MIT License | 5 votes |
/** * Constructor * * @param context app context * @param geoPackage GeoPackage * @param tableName table name * @param minZoom min zoom * @param maxZoom max zoom * @param boundingBox tiles bounding box * @param projection tiles projection * @since 1.3.0 */ public TileGenerator(Context context, GeoPackage geoPackage, String tableName, int minZoom, int maxZoom, BoundingBox boundingBox, Projection projection) { this.context = context; geoPackage.verifyWritable(); this.geoPackage = geoPackage; this.tableName = tableName; this.minZoom = minZoom; this.maxZoom = maxZoom; this.boundingBox = boundingBox; this.projection = projection; }
Example 2
Source File: TileGenerator.java From geopackage-java with MIT License | 3 votes |
/** * Constructor * * @param geoPackage * GeoPackage * @param tableName * table name * @param minZoom * min zoom * @param maxZoom * max zoom * @param boundingBox * tiles bounding box * @param projection * tiles projection * @since 1.2.0 */ public TileGenerator(GeoPackage geoPackage, String tableName, int minZoom, int maxZoom, BoundingBox boundingBox, Projection projection) { geoPackage.verifyWritable(); this.geoPackage = geoPackage; this.tableName = tableName; this.minZoom = minZoom; this.maxZoom = maxZoom; this.boundingBox = boundingBox; this.projection = projection; }