All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.oscim.tiling.source.geojson.RiverJsonTileSource Maven / Gradle / Ivy

There is a newer version: 0.21.0
Show newest version
package org.oscim.tiling.source.geojson;

import org.oscim.core.MapElement;
import org.oscim.core.Tag;

import java.util.Map;

public class RiverJsonTileSource extends GeoJsonTileSource {

    public RiverJsonTileSource() {
        super("http://www.somebits.com:8001/rivers");
    }

    Tag mTagWater = new Tag("waterway", "river");

    @Override
    public void decodeTags(MapElement mapElement, Map properties) {

        mapElement.tags.add(mTagWater);

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy