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

No layers when using OpenFreeMap #1281

Closed
jcardus opened this issue Oct 11, 2024 · 2 comments
Closed

No layers when using OpenFreeMap #1281

jcardus opened this issue Oct 11, 2024 · 2 comments

Comments

@jcardus
Copy link
Contributor

jcardus commented Oct 11, 2024

Because we don't set 'text-font' in the layers definition, Maplibre uses the default and tries to fetch:

https://tiles.openfreemap.org/fonts/Open%20Sans%20Regular,Arial%20Unicode%20MS%20Regular/0-255.pbf

It returns 404 and the layers with text are not shown.

Based on this and this, I think we should use a constant for text-font in all layers and maybe use Noto Sans.

@joystickjockey
Copy link
Contributor

Thanks for the good work jcardus.
Just one thing I noticed, when using openfreemap the directional arrows in replay report does not show but it show on other maps

tananaev added a commit that referenced this issue Oct 12, 2024
@tananaev
Copy link
Member

Good catch. Fixed it as well.

ha-ar added a commit to AlgoRepublic/traccar-web that referenced this issue Nov 4, 2024
* 'master' of https://github.com/AlgoRepublic/traccar-web: (30 commits)
  Handle null values
  Handle undefined position values
  Delete unused icons
  Add trailer category (fix traccar#1290)
  Update category styles
  Fix charts dark mode (fix traccar#1288)
  Fix geofences delete toast
  Fix route points (fix traccar#1281)
  Fix lint issues
  Explicitly specify font (fix traccar#1281)
  symmetry
  use material icons
  clean svg
  use padding (1px) add start.svg start is success and finish is neutral
  finish.svg with same size as others (24x24)
  Changed function call after color normalization fix, and unified var naming
  Removed unnecessary sanity checks
  Fix Color normalization
  Revert "Added max device speed attribute"
  Added max device speed attribute
  ...
jonathandreyer pushed a commit to jonathandreyer/traccar-web that referenced this issue Nov 14, 2024
jonathandreyer pushed a commit to jonathandreyer/traccar-web that referenced this issue Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants