1
vote
0answers
116 views

graduated pattern polygon fill

I'm sure this question is really really basic but I appeal to you because I hate the idea that I have spent 20 minutes trying to do such a simple thing... All I want to do is style a polygon layer by ...
2
votes
2answers
147 views

How can a style be set on a specific polygon using OpenLayers?

Using a polygon id, I want to highlight a polygon, while the mouse is outside of the map area. I can identify the polygon using the following approach: x = 53; for(i=0; ...
3
votes
1answer
2k views

How can GeoJson polygons be colored programmatically using OpenLayers?

I'm experimenting with dynamically setting the color values of a geojson polygon. In my geojson file, there is an attribute for each polygon called pop_den. I am trying to update the fillcolor of the ...
3
votes
2answers
1k views

How to change the vertex style for editing?

When I use drag feature, then the circles on the polygon edge has the same style. For example, this OpenLayers site. I need to change it, I mean they need to be a different color. What is their ...