1 (edited by iByte 2022-08-10 12:09:42)

Topic: Issues with Helper utllity

Hi I recently purchased RWT.

I have tried 3 different ways of using the helper app - (tested in both Firefox Nightly and Chrome)

1) Online at http://service.infinity-code.com/RWT_He … lper.html. The app loads correctly but copy to clipboard function does not work for me.

2) Launched from unity - the web page opens up but no map is loaded. Since the server version of the app actually loads as a webgl app, this is something i am confused about as the helper files in the unitypackage are not a webgl app? I see these errors in chrome

aught TypeError: Cannot read properties of undefined (reading 'lat')
    at Object.project (leaflet-src.js:1659:43)
    at Object.latLngToPoint (leaflet-src.js:1498:40)
    at e.project (leaflet-src.js:3984:27)
    at e.latLngToLayerPoint (leaflet-src.js:4006:29)
    at e._project (leaflet-src.js:7928:27)
    at e._reset (leaflet-src.js:7857:8)
    at e.onAdd (leaflet-src.js:7806:8)
    at e.onAdd (L.Path.Transform-src.jscript:846:36)
    at e._layerAdd (leaflet-src.js:6583:8)
    at e.whenReady (leaflet-src.js:4450:13)
2leaflet-src.js:1051 Uncaught TypeError: Cannot read properties of undefined (reading 'min')
    at P.intersects (leaflet-src.js:1051:21)
    at e._empty (leaflet-src.js:7951:50)
    at e._updateCircle (leaflet-src.js:12756:17)
    at e._updatePath (leaflet-src.js:7947:18)
    at e._update (leaflet-src.js:7942:9)
    at e._updatePaths (leaflet-src.js:11954:21)
    at e.fire (leaflet-src.js:593:11)
    at e._update (leaflet-src.js:12668:8)
    at e._onZoomStart (leaflet-src.js:12645:8)
    at e.fire (leaflet-src.js:593:11)

3) Anyway I copied the helper files to a copy of a local minweb server and when I try to load the page  -

h_t_t_p://localhost:8000/RWT_Helper.html

I also get
leaflet-src.js:1659 Uncaught TypeError: Cannot read properties of undefined (reading 'lat')
    at Object.project (leaflet-src.js:1659:43)
    at Object.latLngToPoint (leaflet-src.js:1498:40)
    at e.project (leaflet-src.js:3984:27)
    at e.latLngToLayerPoint (leaflet-src.js:4006:29)
    at e._project (leaflet-src.js:7928:27)
    at e._reset (leaflet-src.js:7857:8)
    at e.onAdd (leaflet-src.js:7806:8)
    at e.onAdd (L.Path.Transform-src.jscript:846:36)
    at e._layerAdd (leaflet-src.js:6583:8)
    at e.whenReady (leaflet-src.js:4450:13)

Any help would be appreciated.

Re: Issues with Helper utllity

Hello.

Thanks for the bug report.
I just checked it and don't have any errors in the browser console.
This is the first report of a similar problem and searching the Internet did not give any answers what could be the problem.

I am attaching another version of the helper which is based on google maps.
Hope this works correctly for you.

Post's attachments

Attachment icon Helper.zip 15.59 kb, 117 downloads since 2022-08-10 

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.