Page 2 of 2

Re: Adding geo location to bettermap

Posted: Thu Aug 23, 2018 5:31 am
by goochjs
That's a good idea. It does indeed seem to be data-related.

Code: Select all

app.js:11 Error: Invalid LatLng object: (undefined, 53.42979,-2.912128)
    at new e.LatLng (module.js?ver=2.0.0-3.1.1-nagios-5:7)
    at module.js?ver=2.0.0-3.1.1-nagios-5:11
    at Function._a (app.js?ver=2.0.0-3.1.1-nagios-5:10)
    at module.js?ver=2.0.0-3.1.1-nagios-5:11
    at i (app.js?ver=2.0.0-3.1.1-nagios-5:12)
    at app.js?ver=2.0.0-3.1.1-nagios-5:12
    at Object.$eval (app.js?ver=2.0.0-3.1.1-nagios-5:12)
    at Object.$digest (app.js?ver=2.0.0-3.1.1-nagios-5:12)
    at Object.$apply (app.js?ver=2.0.0-3.1.1-nagios-5:12)
    at f (app.js?ver=2.0.0-3.1.1-nagios-5:12)
(anonymous) @ app.js?ver=2.0.0-3.1.1-nagios-5:11
app.js:11 TypeError: f.get_data is not a function
    at Object.f.editSave (app.js?ver=2.0.0-3.1.1-nagios-5:26)
    at app.js?ver=2.0.0-3.1.1-nagios-5:12
    at app.js?ver=2.0.0-3.1.1-nagios-5:12
    at app.js?ver=2.0.0-3.1.1-nagios-5:13
    at Object.$eval (app.js?ver=2.0.0-3.1.1-nagios-5:12)
    at Object.$apply (app.js?ver=2.0.0-3.1.1-nagios-5:12)
    at HTMLButtonElement.<anonymous> (app.js?ver=2.0.0-3.1.1-nagios-5:13)
    at HTMLButtonElement.dispatch (app.js?ver=2.0.0-3.1.1-nagios-5:8)
    at HTMLButtonElement.q.handle (app.js?ver=2.0.0-3.1.1-nagios-5:8)
(anonymous) @ app.js?ver=2.0.0-3.1.1-nagios-5:11
I'll try mapping it to a new field, as separate sub-fields for lat and long, and then cast the new field to a geo-point.

J.

Re: Adding geo location to bettermap

Posted: Thu Aug 23, 2018 7:03 am
by scottwilkerson
goochjs wrote: I'll try mapping it to a new field, as separate sub-fields for lat and long, and then cast the new field to a geo-point.
that sounds like a good idea