Hi! I'm doing a project using OpenStreetMap. There is this one working code snippet that I found that I'm using for adding markers:
...
styleMap: new OpenLayers.StyleMap(
graphicYOffset: -25, // shift graphic up 28 pixels
label : "${name}", // Set the external graphic and background graphic images.
externalGraphic: "${icon}",
backgroundGraphic: "../images/marker-shadow.png",
...
I found 2 API docs for the StyleMap Class:
http://dev.openlayers.org/apidocs/files/OpenLayers/StyleMap-js.html
and
http://dev.openlayers.org/docs/files/OpenLayers/StyleMap-js.html.
Though I have two source, they both don't have documentation about the properties (like graphicYOffset) there. Someone was able to code, so the COMPLETE API docs must exist. Where can I find these COMPLETE API docs. Thanks in advance!