Class: WikiCommons

ol.source. WikiCommons


new WikiCommons( [options])

Parameters:
Name Type Argument Description
options olx.source.WikiCommons <optional>

Extends

  • ol.source.Vector

Members


_lang

Result language


_limit

Query limit


_maxResolution

Max resolution to load features

Methods


readFeature(the, wiki)

Decode wiki attributes and choose to add feature to the layer

Parameters:
Name Type Description
the feature

feature

wiki attributes

attributes

Returns:

true: add the feature to the layer

Type
boolean