You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/map/layers/marker.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ The following example demonstrates how to configure the Marker layer of the Map.
84
84
85
85
To customize the marker appearance, set the `Template` parameter in the `<MapLayerMarkerSettings>` child tag of the corresponding `MapLayer`.
86
86
87
-
The `Template` parameter must point to the name of a JavaScript function, which is defined in the global scope. This function can 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 HTML markup as a string. The template function argument is a JavaScript object with properties that match the Marker layer's model class.
88
88
89
89
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.
0 commit comments