I want show one marker with normal angle 90 degrees(it is default of openlayers) and other marker with 120 degrees in openlayers. To differentiate with the normal ones.
how can i do this.
[GIS] how to change marker angle in openlayers
openlayers-2
Related Question
- [GIS] openlayers change marker icon, size and offset after drawn
- [GIS] Click a marker icon to open a pop-up, using OpenLayers
- [GIS] Rotating marker in OpenLayers
- [GIS] OpenLayers create marker (feature with icon) from WKT
- [GIS] OpenLayers behaves problematic after certain zoom level in Google Maps Satellite view
- [GIS] Openlayers Marker z-index
Best Answer
You can rotate a feature. Here's an example.
http://dev.openlayers.org/releases/OpenLayers-2.12/examples/rotate-features.html