Advertising sustains the DA. Ads are hidden for members. Join today

On this page

Behavior flags

Last updated on
30 April 2025

Behavior flags can be used to change a map's behavior in predefined ways.

locpick

Enable location chooser functionality on a map.

Implementor
locpick.js
Default
OFF

nodrag

Inhibit dragging the map.
Having nodrag will force nokeyboard ON.

Implementor
gmap.js
Default
OFF

nokeyboard

Disable keyboard control of the map.
As keyboard control can only be enabled on at most one map per page, it must be explicitly turned on.

Implementor
gmap.js
Default
ON

(TODO: Document all flags in GMap core)

Help improve this page

Page status: Not set

You can: