Skip to content

Function: buildOpenStreetMapLocation() ​

ts
function buildOpenStreetMapLocation(
   latitude, 
   longitude, 
   zoom?, 
   viewport?
): string;

Defined in: location.ts:136

A normal map URL with optional framing fields for the same view inside chat.

Parameters ​

ParameterTypeDefault value
latitudenumberundefined
longitudenumberundefined
zoom?number15
viewport?MapViewportundefined

Returns ​

string

Released under the GNU Affero General Public License v3.0.