I am trying to draw a marker by EditingToolbar but I don't know to change style of point.

I want to draw an image instead of a default point.

Could you show me how I do it?

enter image description here


See the styling documentation, you have to define a custom stylemap and define a custom style for the element. You shuld override the styles 'default', 'select' ant 'temporay'


Here it is an simple example of how to do what you want : http://wiki.openstreetmap.org/wiki/Openlayers_POI_layer_example

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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