We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is any chance to support polygon holes on android?
I added this function:
`
public void setHoles(ReadableArray holes) {
this.holes = new ArrayList<>(holes.size()); for (int i = 0; i < holes.size(); i++) { ReadableArray hole = holes.getArray(i); List<GeoPoint> coordinates = new ArrayList<>(hole.size()+1); for (int j = 0; j < hole.size(); j++) { ReadableMap coordinate = hole.getMap(j); coordinates.add(j, new GeoPoint(coordinate.getDouble("latitude"), coordinate.getDouble("longitude"))); } coordinates.add(coordinates.get(0)); this.holes.add(coordinates); } if (polygon != null) { polygon.setHoles(this.holes); mapView.invalidate(); }
}`
But it doesn't work.
The text was updated successfully, but these errors were encountered:
It is not implemented yet.
As seem here osmdroid already added support. So, i just need to add it to the lib.
Added to my backlog here.
PRs are accepted also. ;-)
Sorry, something went wrong.
Any chance that you will be able to add it soon?
No branches or pull requests
Is any chance to support polygon holes on android?
I added this function:
`
public void setHoles(ReadableArray holes) {
}`
But it doesn't work.
The text was updated successfully, but these errors were encountered: