Namespace: ext

ol. ext

Members


<static> element

Vanilla JS helper to manipulate DOM without jQuery

See:

Methods


<static> Ajax(options)

Ajax request

Parameters:
Name Type Description
options *
Properties
Name Type Description
auth string

Authorisation as btoa("username:password");

dataType string

The type of data that you're expecting back from the server, default JSON

Fires:
  • event:success
  • event:error

<static> getMapCanvas(map)

Get a canvas overlay for a map (non rotated, on top of the map)

Parameters:
Name Type Description
map ol.Map
Returns:
Type
canvas