Version:
Popular examples
Map
Geo objects
Balloon and hint
Controls
Hotspots
Regions
Clustering
GeoQuery
Behaviors and events
Search on a map
Traffic
User's location
Routing
YMapsML
GeoXML
ObjectManager
Modular system
Panoramas
External modules

Filtering objects by various attributes

Save as filesEdit on JSFiddle

You can use the GeoQueryResult class to create a set of placemarks on the map from JSON descriptions of their geometries.

The search method allows you to filter the objects in the selection according to various criteria. For example, to select objects with a specific value in data fields or select objects based on the geometry type.

This example shows how to select geo objects by multiple characteristics, and make a combination or a sample of the selection.