Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Beau
Partner - Contributor II
Partner - Contributor II

Map line layer not showing anything

Hi everyone, I'm hoping I can get some assistance with creating a line layer on a map. I have followed instructions on several YouTube videos that all indicate similar steps to create a line layer.

- Add line layer

- Add Origin and Destination dimensions

- Add start and end point (I've tried using the origin/destination dimensions, lats and longs for each and made geopoints for the origin and destination)

- Add a measure to dictate the width of the lines

This doesn't seem to show any lines on the map, can anyone help and explain what I am doing wrong?

I have attached a test app that replicates my issue.

Labels (1)
3 Replies
justISO
Specialist
Specialist

Hi, try change syntax of GeoMakePoint() function in load script, to GeoMakePoint([Lat], [Long]).

justISO_0-1705053274871.png

Probably confusion between syntax (lat, lon) and return (lon, lat) appeared here.

 

Beau
Partner - Contributor II
Partner - Contributor II
Author

Thanks for the suggestion, but this hasn't resolved it.

I tried both syntaxes for GeoMakePoint() as well as specifying the latitude and longitude for each point and still nothing shows up

Beau
Partner - Contributor II
Partner - Contributor II
Author

For some reason, the map now works on the toy problem provided using the correct syntax, as suggested by justISO, but this doesn't seem to translate to the intended app. I don't understand why, when I am creating the location points, the same (attached is a complete list of the locations). I've tried duplicating this app to copy the objects from the intended app to create a new version where the map works. However, the problem is now that by duplicating this map_test app, the map breaks without changing anything.

Also when changing the name of the app, the map breaks.

This seems like a bug with Qlik, but others may have experienced this before, and wondering if there is a solution.

I still can't get the map working in the intended app.