Skip to content

Commit 2825c8e

Browse files
authored
Update components/map/layers/marker.md
1 parent 32b7430 commit 2825c8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/map/layers/marker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ The following example demonstrates how to configure the Marker layer of the Map.
8484

8585
To customize the marker appearance, set the `Template` parameter in the `<MapLayerMarkerSettings>` child tag of the corresponding `MapLayer`.
8686

87-
The `Template` parameter must point to the name of a JavaScript function, which is defined in the global scope. This function must return HTML markup as a string. The template function argument is a JavaScript object with properties that match the Marker layer's model class.
87+
The `Template` parameter must point to the name of a JavaScript function, which is defined in the global scope. This function must return plain text or HTML markup as a string. The template function argument is a JavaScript object with properties that match the Marker layer's model class.
8888

8989
The following example uses two Marker layers with different templates. One renders custom HTML markup. The other one shows how to render the built-in Map marker with custom colors.
9090

0 commit comments

Comments
 (0)