vtm-models module, fix #580

This commit is contained in:
Emux 2018-09-05 14:50:54 +03:00
parent 272ce1d9b6
commit 3bba870c90
No known key found for this signature in database
GPG Key ID: 64ED9980896038C3
7 changed files with 21 additions and 2 deletions

View File

@ -13,6 +13,7 @@ include ':vtm-ios-example'
include ':vtm-jeo'
include ':vtm-json'
include ':vtm-jts'
include ':vtm-models'
include ':vtm-mvt'
include ':vtm-playground'
include ':vtm-tests'

17
vtm-models/build.gradle Normal file
View File

@ -0,0 +1,17 @@
apply plugin: 'java-library'
apply plugin: 'maven'
dependencies {
api project(':vtm')
}
sourceSets {
main.java.srcDirs = ['src']
main.resources.srcDirs = ['resources']
}
if (project.hasProperty("SONATYPE_USERNAME")) {
afterEvaluate {
project.apply from: "${rootProject.projectDir}/deploy.gradle"
}
}

View File

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

@ -12,7 +12,7 @@
* You should have received a copy of the GNU Lesser General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.oscim.theme;
package org.oscim.model;
import org.oscim.backend.AssetAdapter;

View File

@ -9,6 +9,7 @@ dependencies {
implementation project(':vtm-jeo')
implementation project(':vtm-json')
implementation project(':vtm-jts')
implementation project(':vtm-models')
implementation project(':vtm-mvt')
implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
implementation "org.slf4j:slf4j-jdk14:$slf4jVersion"

View File

@ -20,9 +20,9 @@ import org.oscim.layers.tile.TileSet;
import org.oscim.layers.tile.vector.VectorTileLayer;
import org.oscim.layers.tile.vector.VectorTileLayer.TileLoaderProcessHook;
import org.oscim.map.Map;
import org.oscim.model.VtmModels;
import org.oscim.renderer.bucket.RenderBuckets;
import org.oscim.renderer.bucket.SymbolItem;
import org.oscim.theme.VtmModels;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;