POST
|
should I still have scale command in config_my Location.json I still only get to the loading screen. and the widget donät show up.
... View more
02-16-2016
05:17 AM
|
0
|
2
|
273
|
POST
|
So the correct code should be somthing like this : onLocate: function(e) { this.geoLocate.setScale = !1; d.removeClass(this.placehoder, "locating"); this.geoLocate.useTracking && d.addClass(this.placehoder, "tracking"); e.error ? console.error(e.error) : (d.addClass(this.domNode, "onCenter"), this.neverLocate = !1)} }, IS tha correct ? I'm reinstalling my webserver but will try this in a few hours.
... View more
02-16-2016
12:36 AM
|
1
|
4
|
273
|
POST
|
did not help that either. app.sandbyborg.se Here you can se the app online and IO can send the complete code to you if you like to see so I did not make any misstake.
... View more
02-15-2016
12:20 AM
|
0
|
7
|
543
|
POST
|
that did onot work so well. When i add the code line my complete widget disapers.
... View more
02-11-2016
01:37 AM
|
0
|
9
|
543
|
POST
|
Line 315 . { onLocate: function(e) { d.removeClass(this.placehoder, "locating"); this.geoLocate.useTracking && d.addClass(this.placehoder, "tracking"); e.error ? console.error(e.error) : (d.addClass(this.domNode, "onCenter"), this.neverLocate = !1)} My don't look like yours.
... View more
02-09-2016
06:05 AM
|
0
|
11
|
543
|
POST
|
Have been away from the office. trying today but Can't fint the code exemepl you put in the thred. I think you mean the Widge.js in folder *\inetpub\wwwroot\WAB13DE\Kalmar\widgets\MyLocation is that correct ?
... View more
02-09-2016
01:10 AM
|
0
|
13
|
543
|
POST
|
I have a my location widget that has the code. { "locateButton": { "geolocationOptions": { "timeout": 15000 }, "highlightLocation": true, "useTracking": true, "scale": 1200 } } the scale command give a perfect scale. but if I zoom in or out it resets after 15 sekund. ( I can change reset time to what ever I want) I'm trying to get it to stay at the zoom lvl the user sets after first positioning. If i remove scale is goes to maz zoom every 15 seconds I have try to use : { "locateButton": { "geolocationOptions": { "timeout": 15000, "setScale": false }, "highlightLocation": true, "useTracking": true } } but the it zooms in to max and stay the. I can't zoom out. any one have a any good input on this?
... View more
02-03-2016
07:08 AM
|
0
|
16
|
2595
|
POST
|
Perfect. your works like a charm. but i don't see why my don't. copy you config.json, mylocation folder, and configs folder du my setup and it don't work. hmm i have som work on this. And i need to learn the scale command mor så i can set mylocation on a smaller scale.
... View more
01-13-2016
12:15 AM
|
0
|
1
|
376
|
POST
|
is it possible you can send me the compålet code for your version of my map so i can look at it?
... View more
01-12-2016
03:17 AM
|
0
|
3
|
376
|
POST
|
Hi again. Your is working perfect. but my don't work. it only zoom to 1 m at my location. I want it at 10m .
... View more
01-12-2016
03:08 AM
|
0
|
4
|
376
|
POST
|
Can't get it to work with scale This is a complete copy of the map with widget. http://www.filedropper.com/6_15 Do i miss some config file ?
... View more
12-22-2015
11:11 PM
|
0
|
7
|
749
|
POST
|
http://www.filedropper.com/mylocation here you have my widget taken from \wwwroot\WAB13DE\6\widgets I have change the code in config.jason
... View more
12-17-2015
11:11 PM
|
0
|
9
|
749
|
POST
|
hmmm then change the scale number should give effect in my widget but it does not. Have copy > Paste your code and still ge a very zoomed in version om my position. (as close as the basemap let i be approx: 1 meter in in evry direction from my point)
... View more
12-17-2015
05:09 AM
|
0
|
12
|
749
|
POST
|
what do scale refer to in this case ? I don't se any diffrence in scale when I hit the button my location.
... View more
12-16-2015
11:16 PM
|
0
|
14
|
749
|
Title | Kudos | Posted |
---|---|---|
1 | 02-16-2016 12:36 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|