Interface PlaceOptions

Option to activate Place Details within the input. You can paste one or many GIDs in the input.

new JawgPlaces({
place: {
enabled: true,
geometries: 'source'
}
})
interface PlaceOptions {
    enabled: boolean;
    geometries?: GeometriesOptions | (() => GeometriesOptions);
}

Properties

Properties

enabled: boolean

Activate the place endpoint.

geometries?: GeometriesOptions | (() => GeometriesOptions)

Set the type of return from Places Details API, either a point or the source geometry.