-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
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
Display none to Line Feature, become black stroke line #47
Comments
malvinpatrick
changed the title
Set Display none to Line Feature
Display none to Line Feature, become black stroke line
Jul 8, 2021
@malvinpatrick What do you want to achieve? Actually the Style class hasn't such constructor and the style hasn't such properties (see http://dev.openlayers.org/releases/OpenLayers-2.13.1/doc/apidocs/files/OpenLayers/Style-js.html). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I was trying hide my line on openlayer
VectorFeature vector = routeLayer.getFeatureById(vDay.getId().toString());
vector.setStyle(new Style("{display: none}"));
But why I got this "black" line ?? I have to refresh the layer.
The text was updated successfully, but these errors were encountered: