2010-08-03 5 views
1

OpenStreetMap을 사용하여 프로젝트를하고 있습니다.OpenLayers API Documentation

 
... 
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", 
    ... 

나는 스타일 맵 클래스 2 API의 문서를 발견 : 내가 추가 마커 사용하고 발견이 하나의 작업 코드가

http://dev.openlayers.org/apidocs/files/OpenLayers/StyleMap-js.html

http://dev.openlayers.org/docs/files/OpenLayers/StyleMap-js.html.

두 개의 소스가 있지만 둘 다 그래픽이없는 속성 (예 : graphicYOffset)에 대한 설명서가 없습니다. 누군가 코드를 작성할 수 있었으므로 COMPLETE API 워드 프로세서가 있어야합니다. 이 COMPLETE API 문서는 어디에서 찾을 수 있습니까? 미리 감사드립니다!

답변

0
+0

http://dev.openlayers.org/releases/OpenLayers-2.9/doc/apidocs/files/OpenLayers/StyleMap-js.html << 아직 찾고있는 속성이 없습니다. ( – Jairo