0 votes
1 view
Hi,

in mapWidget, when I choose marker or cluster, nothing is showing on the map.
the other two types, heatmap and choropleth works well and position is accurate.

My spatial attribute is in wkt.

I need to use the marker visualisation, any advice on this issue ?

No error in log files.
Environment Knowage 7.1.3 in firefox on windows 10
asked Mar 18, 2020 in Cockpit, Dashboard and Console by rlagarde (3,170 points) | 1 view
Dear,

Check the JS console if you are finding more information.

In general we are fixed some issues about map widget in the 7.1.5 release. So I suggest to upgrade next week

Best Regards

Angelo
Thanks for the swift answer,

there was nothing relevant in the console either.

I will check if this is fixed when 7.1.5 comes out

Regards

3 Answers

0 votes
Hello...

I have the same problem. I installed version 7.1.7, and I'm using a Point layer with GeoJson. Only the heatmap shows data on the map.
I use the Knowage in docker, and updated from version 7.1 available in the docker hub.
I noticed that the console has some errors, possibly from the Angular version.
Could anyone help solve this problem?
The map and the Angular update?

Thanks

Problems Console:

AdapterHTTP?PAGE=LoginPage&NEW_SESSION=TRUE:1745 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
getSynch @ AdapterHTTP?PAGE=LoginPage&NEW_SESSION=TRUE:1745
:8001/knowage/servlet/AdapterHTTP?PAGE=LoginPage&NEW_SESSION=TRUE#:1 Autofocus processing was blocked because a document already has a focused element.
DevTools failed to load SourceMap: Could not load content for http://dev.mysite.com.br:8001/knowage/js/lib/angular/angular_1.4/angular-animate.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for http://dev.mysite.com.br:8001/knowage/js/lib/angular/angular_1.4/angular-aria.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for http://dev.mysite.com.br:8001/knowage/js/lib/angular/angular_1.4/angular-sanitize.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for http://dev.mysite.com.br:8001/knowage/js/lib/angular/angular_1.4/angular-messages.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for http://dev.mysite.com.br:8001/knowage/js/lib/wheelnav/raphael.icons.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for http://dev.mysite.com.br:8001/knowage/js/lib/wheelnav/raphael.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for http://dev.mysite.com.br:8001/knowage/js/lib/mathjs/4.0.1/math.min.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for http://dev.mysite.com.br:8001/knowagecockpitengine/js/src-7.1.7/angular_1.4/tools/commons/sbiModule_services/json-patch-duplex.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
answered Jul 28, 2020 by anderson.mattiola (1,120 points)
0 votes
I upgraded to 7.1.7 and manage to get all display types working including point/cluster layer.

You have to use x,y coordinates in a string spatial attribute as the other two (wkt and geojson) don't seem to work.
answered Aug 10, 2020 by rlagarde (3,170 points)
Do you talk about using x, y coordinates in this format?

POINT(14.251184 6.275882)
POINT(14.226283 6.249483)
POINT(14.225017 6.249317)

or just the pair

14.251184 6.275882
14.226283 6.249483
14.225017 6.249317

A string containing x,y: coma separated x and y worked for me but documentation says x y so this too should work.

Note that you have to use WGS84 Coordinate System

Also worth mentioning: GeoJSON polygon will work fine for chloropelet display type.

Thanks rlagarde ... I tested your suggestion and it worked, but with files with few records.

But in a file with more than 3000 records, the cluster and marker did not work, only the heatmap.
Do you know if you have any limitations in the amount of records?

Thank you...
0 votes

Hi,

You can try String attribute ,using EPSG:4326 specification.

It works on marker and cluster.

Can you show me your wkt data demo?

Because Using String may not work on heatmap and choropleth

thx!

Environment Knowage 7.1.3 in firefox on windows 7

answered Dec 2, 2020 by huang0325 (200 points)
1,553 questions
1,017 answers
2,037 comments
2,567 users