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

php - Hide output during test execution -

javascript - Migrate custom AngularJS filter from 1.2.28 to 1.4.x -

Update Magento products with multiple images -