Class: Event

cercalia.MapRouting.Event


Events emitted by cercalia.MapRouting instances are instances of this type.

new cercalia.MapRouting.Event(type, opt_marker, opt_ge, opt_formattedAddress)

src/cercalia/maprouting.js, line 1544
Name Type Description
type string

Type.

marker cercalia.Marker

Marker.

ge

Cercalia GeoEntity object.

Name Type Description
article string | null | undefined
city cercaliax.ObjectJSON | null | undefined
coord cercaliax.Coord | null | undefined
country cercaliax.ObjectJSON | null | undefined
dist string | null | undefined
frc string | null | undefined
housenumber cercaliax.ObjectJSON | null | undefined
id string | null | undefined
intersection cercaliax.ObjectJSON | null | undefined
kmh string | null | undefined
label string | null | undefined
municipality cercaliax.ObjectJSON | null | undefined
name cercaliax.ObjectJSON | null | undefined
pos string | null | undefined
postalcode cercaliax.ObjectJSON | null | undefined
prefix string | null | undefined
region cercaliax.ObjectJSON | null | undefined
sname string | null | undefined
subcategory_id cercaliax.ObjectJSON | null | undefined
subregion cercaliax.ObjectJSON | null | undefined
zonename string | null | undefined
zonetype string | null | undefined
formattedAddress string

Formatted address.

Extends

Members

formattedAddress{string} {undefined}

Formatted address.

ge{cercaliax.GeEntity} {undefined}

Geo entity Cercalia object.

marker{cercalia.Marker} {undefined}

Marker created / moved.

target{Object}

The event target.

type{string}

The event type.

Methods

preventDefault() inherited

src/ol/events/event.js, line 48

Stop event propagation.

stopPropagation() inherited

src/ol/events/event.js, line 56

Stop event propagation.

Events

change inherited

src/ol/events/eventtype.js, line 8

Generic change event. Triggered when the revision counter is increased.