Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 616 Bytes

Data.StylingFunction.md

File metadata and controls

12 lines (7 loc) · 616 Bytes

See html formatted version

Data.StylingFunction typedef

google.maps.Data.StylingFunction typedef

A function that computes the appearance of a feature.

The Data.setStyle() method can accept a styling function. Use this when features should appear differently depending on their properties. You can find more information about styling features in the developer's guide.

function(Data.Feature): Data.StyleOptions