openlayers 3 - geolocation.bindTo() is not defined -


i following guide. executes when visit site when try run localhost gives me geolocation.bindto() error undefined. read being geolocation object not yet created or method executes asynchronously far read here.

here link: https://openlayersbook.github.io/ch10-openlayers-goes-mobile/example-02.html

this tracking location of user using openlayers 3 openstreetmaps.

bindto depracted ol.dom.input. use "propertychange" , other listeners.


Comments

Popular posts from this blog

python - jinja2: TemplateSyntaxError: expected token ',', got 'string' -

node.js - NodeJS remote terminal to Dropbear OpenWRT-Server -

Qt4: how to send QString inside a struct via QSharedMemory -