Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cruiser not working with default VTM theme #245

Closed
Roryplewes opened this issue Jun 6, 2024 · 7 comments
Closed

Cruiser not working with default VTM theme #245

Roryplewes opened this issue Jun 6, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@Roryplewes
Copy link

Expected Behavior

When using cruiser we upload the map we want to view, then select the wahoo theme we wish to see the map viewed as from the theme repository from github.

Current Behavior

We in cruiser and selecting the VTM theme I get an error of "Unknown element: style-line"

Steps to Reproduce the Issue

  1. Download most recent version of cruiser.
  2. Download anymap in .map format
  3. Download vtm-elemnt.xml file from the theme repository
  4. Open cruiser and import map
  5. Select open map theme and select the downloaded vtm-elemnt.xml file.
  6. Error message should appear

Context

  • OS/Platform: Mac

For boltV2

@Roryplewes Roryplewes added the bug Something isn't working label Jun 6, 2024
@masc4ii
Copy link
Contributor

masc4ii commented Jun 6, 2024

Cruiser VTM doesn't work on 64bit macOS by default, as the VTM libraries are 32bit only at the moment! That is a known issue of cruiser - see issues on this side (vtm library used by cruiser). This is no issue of the code in this repo.

You can get it working using 32bit Wine starting the Windows bat file. Or use an old macOS having native 32bit support.

@Roryplewes
Copy link
Author

Sorry, not the most computer savvy but have managed to get custom maps to work.I have managed to get it to all work on my wahoo but not fully satisfied with how certain trails are shown on the map so using cruiser will be essential to testing this.

so what your saying is if I run cruiser on a windows pc I will be fine. Or use an old mac, how would I see if its 32 bit?

@Ebe66
Copy link
Contributor

Ebe66 commented Jun 7, 2024

I can't comment on anything MacOS related being on Windows.
But I might be able to say something about Cruiser. Cruiser's default rendering engine is MapsForge and when you try to load a vtm render theme while set to MApsForge you get this message because it's not a valid MapsForge render instruction.
In Cruiser go to settings on the top right then Rendering engine and select VTM. This will 100% work on windows

@Roryplewes
Copy link
Author

When I am on cruiser I dont have a rendering engine setting?

@Ebe66
Copy link
Contributor

Ebe66 commented Jun 7, 2024

Doubt it's different on macos but see screenshot for the windows version:
image

@masc4ii
Copy link
Contributor

masc4ii commented Jun 7, 2024

You can't get the VTM render engine on 64bit macOS. You can try by changing the call in the .sh file, but then you get other errors. When did macOS go 64bit: not exactly sure, was it Catalina? On 10.13 it works fine here. On newer macOS you just can try the Wine workaround.

@treee111
Copy link
Owner

treee111 commented Jul 14, 2024

Thanks for helping out @masc4ii and @Ebe66!

This is a related discussion about using cruiser on macOS: mapsforge/vtm#1004 (comment) and devemux86/cruiser#20 (reply in thread)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants