ol.source. ol.source.GeoJSON

new GeoJSON

Stability: experimental
Parameters:
Name Type Argument Description
options olx.source.GeoJSONOptions <optional>

Options.

Properties
Name Type Description
attributions Array.<ol.Attribution> | undefined

Attributions.

defaultProjection ol.proj.ProjectionLike

Default projection.

extent ol.Extent | undefined

Extent.

logo string | undefined

Logo.

object GeoJSONObject | undefined

Object.

projection ol.proj.ProjectionLike

Destination projection. If provided, features will be transformed to this projection. If not provided, features will not be transformed.

text string | undefined

Text.

url string | undefined

URL.

urls Array.<string> | undefined

URLs.

Source:
  • geojsonsource.js, line 15
Fires:

Extends