Перейти к основному содержимому

method

isSupported

isSupported(options?)

Tests whether the current browser supports MapGL. Use our raster map implementation https://api.2gis.ru/doc/maps/en/quickstart/ if not.

Parameters

options?

MapSupportOptions

Returns
boolean

notSupportedReason

notSupportedReason(options?)

Tests whether the current browser supports MapGL and returns the reason in a string

Parameters

options?

MapSupportOptions

Returns
undefinedstring

setWorkerUrl

setWorkerUrl(url)

Parameters

url

string
Returns
void