Владимир Калачихин
Владимир Калачихин
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
I have no idea. I have two test machines: one real and one virtual. No problems with any of them. But it is not Docker, yes.
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Remove the /root/.signalk/plugin-config-data/galadrielmap_sk.json. I did not find any other problems when upgrading on the test machine.
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
The current version is shown in the header of the browser window from the file /usr/local/lib/node_modules/galadrielmap_sk/package.json. The SugnalK store gets app from https://www.npmjs.com/package/galadrielmap_sk And I forgot to change the version in the doc.
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Remove the GalagrielMap, and then install it again. Or just remove /root/.signalk/node_modules/galadrielmap_sk.
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Well, it's not me. I guess.
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Ok, the latest version now restores the hidden status after reload.
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Sometimes the tablet looses the connection to the network for a few seconds, and that means the map is reloaded.
Aha! But the GaladrielMap not need to be reload, and does not do it when the connection lost. Is it possible that the KIP does this?
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
So I'm thinking - what if there's an emergency and the boat has to be driven by someone who doesn't know how things work? It's better if he sees the controls after some commonly understood actions.
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Sorry, I think I've missed the point of the problem. After reload, you just can tap to hide controls again. The location of the tap zone is saved after reload.
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
I'm sure we should leave the ability to use the app to someone who doesn't know how to use it. So no, after reload you must hide controls again.
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
However, you already have different addresses...
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
But you may use different url's.
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
The problem is not with KIP or Home Assistant. The problem is with browser. One browser stores data from one url in one place. So all browser windows display the same things for this url. To avoid this you must use Firefox's "containers". That is to open one instance of GaladrielMap (or KIP, or Freeboard) in one container, and other instance - in another container. It will not be possible to show two different GaladrielMap in one KIP.
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
But the map does not stick when I run it in a window in Home Assistant. I guess that's because it doesn't save cookies as they should in that case
Its strange. In the new version should not use cookies. It should be used browser localStorage mechanism. Describe in detail what you are doing and what is happening.
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Sorry, 0.12.2
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
New 0.12.1. Store options to browser localStorage. So, you'll need to set it up again.
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
No, it's something strange.
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Wait for the latest version - today or tomorrow. 🙂 I decided that disabling controls is a property of the client instance. So, the management of this has been moved to the GaladrielMap settings. To replace the boat icon replace /usr/local/lib/node_modules/galadrielmap_sk/public/img/gpscursor.png Yes, on window reload the controls are shown. Just to be safe.
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Btw no news on the Cloudflare thing?
C-MAP_raster1 now works, but for me - only via TOR.
314 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Maybe make the left panel disappear by tapping on the control, for example, in the right of the screen?
See last version. Set up are in SignalK admin panel. This may not be what you wanted, but let's start with that.
314 replies