Skip to content

Commit

Permalink
update for GeoJsonPlugin.java to fix #232 (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
romatroskin authored and Cameron Mace committed Mar 28, 2018
1 parent c671724 commit e2c85f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ private DataModel parseGeoJsonString(String geoJson) {
if (!TextUtils.isEmpty(featureType)) {
if (featureType.equalsIgnoreCase("LineString")) {
List<LatLng> latLngs = new ArrayList<>();
LineString lineString = (LineString) feature.getGeometry().getCoordinates();
LineString lineString = (LineString) feature.getGeometry();
List<Position> coordinates = lineString.getCoordinates();
for (Position position : coordinates) {
LatLng latLng = new LatLng(position.getLatitude(), position.getLongitude());
Expand Down

0 comments on commit e2c85f5

Please sign in to comment.