diff --git a/examples/vector-features.html b/examples/vector-features.html index a7193227c9..a8ba5040c3 100644 --- a/examples/vector-features.html +++ b/examples/vector-features.html @@ -7,7 +7,7 @@ border: 1px solid black; } - + @@ -75,5 +97,12 @@ in different styles, created 'manually', by constructing the entire style object, via 'copy', extending the default style object, and by inheriting the default style from the layer.
+It also shows how to use external graphic files for point features + and how to set their size: If either graphicWidth or graphicHeight is set, + the aspect ratio of the image will be respected. If both graphicWidth and + graphicHeight are set, it will be ignored. Alternatively, if graphicWidth + and graphicHeight are omitted, pointRadius will be used to set the size + of the image, which will then be twice the value of pointRadius with the + original aspect ratio.