-
public class ShapeConverterhttps://github.com/osmdroid/osmdroid/issues/906 A simple utility class to convert a shape file into osmdroid overlays created on 1/28/2018.
-
-
Method Summary
Modifier and Type Method Description static List<Overlay>convert(MapView map, File file, ValidationPreferences prefs, ShapeMetaSetter shapeMetaSetter)static ValidationPreferencesgetDefaultValidationPreferences()static List<Overlay>convert(MapView map, File file)static List<Overlay>convert(MapView map, File file, ValidationPreferences pref)-
-
Method Detail
-
convert
static List<Overlay> convert(MapView map, File file, ValidationPreferences prefs, ShapeMetaSetter shapeMetaSetter)
- Parameters:
map- the MapView to which these overlays will be added.file- the shape file to be converted.prefs- allows the client to relax the level of validation when reading a shape file.shapeMetaSetter- customize titles, snippets, sub-descriptions of bubbles, and paint of overlays.
-
getDefaultValidationPreferences
static ValidationPreferences getDefaultValidationPreferences()
-
convert
static List<Overlay> convert(MapView map, File file, ValidationPreferences pref)
-
-
-
-