2010-08-03 172 views
1

我在做一个使用OpenStreetMap的项目。有这一个工作的代码片段,我发现我使用添加标记:OpenLayers API文档

 
... 
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文档的StyleMap设定等级:

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文档。提前致谢!

回答