Samples with LocationButton Widget dont' work

3060
2
11-09-2015 08:57 AM
ChristianSailer2
Occasional Contributor

WebApp doesn't seem working..

http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=mobile_geolocaterenderer

Using the "LocateButton" - Widget in app such as

http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=widget_locate

zooms to scale Level 25 instead 16 where the basemap data is no more available...

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Christian,

   The first sample link works for me. As far as the second link zooming in to far you have the ability to set the scale that is used when your location is found using the scale option in the constructor for the widget.

LocateButton | API Reference | ArcGIS API for JavaScript | constructor

0 Kudos
ChristianSailer2
Occasional Contributor

Hi Robert

Sample 1:

In IE and Firefox on Desktop works, Safari at iPhone6 not, Chrome on Desktop and Mobile sometimes works sometimes not. Issue found the first time at 1st November 2015 ... before everything has run great...

Browser Updates?

Sample 2:

I try with setScale. It works sometimes, sometimes it seems that the Widget/Browser/?? overrides that Scale....

0 Kudos