Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

You can rotate a feature. Here's an example.

share|improve this answer
but i want to the marker to bend little bit, not exactly rotating.. so how can i achieve this. – Ramesh Kotha Aug 6 '12 at 20:12
The example has animated rotation. That's just "cute". But the meat is there in the .rotate() function call. You original question stated you wanted to rotate by 120 deg. The rotate() function is your perfect answer.'s something else you're looking for and you might need to restate your question. – Vadim Aug 6 '12 at 20:45
yes i have to rotate the marker with some angle other than regular one. will try that thanks.. – Ramesh Kotha Aug 6 '12 at 21:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.