Author Topic: Editing theme in desktop  (Read 1364 times)

Offline rucativava

  • Newbie
  • *
  • Posts: 1
    • View Profile
  • Device: Samsung S20 FE
Editing theme in desktop
« on: August 17, 2021, 00:45:50 »
I have developed in the past a rendertheme for Orux using Cruiser as a desktop previewing tool. I am now creating a new theme for LoMaps, and it seems Cruiser is not able to handle specific locus attributes as well as dp units.
Is there anyway to use the computer to edit the XML file and quickly previewing the result?
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12854
  • Thanked: 973 times
  • Country: cz
    • View Profile
    • https://www.asamm.com
  • Device: Pixel 5, A12
Re: Editing theme in desktop
« Reply #1 on: August 19, 2021, 11:34:34 »
Hello, I'm worried there is no such tool for the desktop. Anyway, it is maybe a good question to people who create map themes about their best practices of editing ...
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline voldapet

  • Locus team
  • Master of Locus
  • *****
  • Posts: 537
  • Thanked: 22 times
    • View Profile
Re: Editing theme in desktop
« Reply #2 on: August 19, 2021, 11:52:55 »
Hi, I develop the internal Locus themes. I also think that there is no desktop SW that supports custom Locus tags. I always preview the changes directly on the phone or emulator.
I can suggest TotalCommander with ADB plugin to quickly copy XML file to the device.
 

Offline john_percy

  • Expert
  • Master of Locus
  • ****
  • Posts: 965
  • Thanked: 181 times
    • View Profile
  • Device: MotoG
Re: Editing theme in desktop
« Reply #3 on: August 20, 2021, 10:26:17 »
Like @voldapet I use Total Commander but with TotalDrip to access Dropbox in order to transfer the files and test on line.
I also use QuickEdit to edit online within Android and Notepad+ to edit the XML files in the Dropbox folder in Windows.
I found that quicker and less frustrating than using an emulator, and easier than ADB when I changed my phone.

Sent from my moto g(6) plus using Tapatalk

 

Offline karlchick

  • More than Newbie
  • *
  • Posts: 77
  • Thanked: 59 times
  • Country: gb
    • View Profile
  • Device: Samsung Galaxy A52 5G
Re: Editing theme in desktop
« Reply #4 on: August 27, 2021, 23:43:27 »
I use Notepad+ with a plugin to select rgb colour codes. Transfer to phone using double commander for live testing in app.
Author of the OS Map theme.
 

Offline tapio

  • Expert
  • Master of Locus
  • ****
  • Posts: 913
  • Thanked: 195 times
  • Country: 00
    • View Profile
Re: Editing theme in desktop
« Reply #5 on: December 04, 2021, 16:57:50 »
I use MS Visual Studio Codium on Windows and TC (+its SMB plugin)/QuickEdit on Smartphone end.
« Last Edit: January 02, 2022, 13:25:13 by tapio »
LM4 USER ID: 1AACAFF2A2
My "Tasker vs. Locus" YouTube playlist: http://tiny.cc/LocusVsTasker
 

Offline tapio

  • Expert
  • Master of Locus
  • ****
  • Posts: 913
  • Thanked: 195 times
  • Country: 00
    • View Profile
Re: Editing theme in desktop
« Reply #6 on: January 04, 2022, 16:17:38 »
Guys I just remembered RouteConverter can show OSM maps and themes. I've just checked OAM v5 and Voluntary theme, it works, see lovely screenshot. Seems like a good way to test themes.

Stuff for this application goes into default dir "%userprofile%\.routeconverter\" - paths can be changed in options.

https://www.routeconverter.com/home/en

LM4 USER ID: 1AACAFF2A2
My "Tasker vs. Locus" YouTube playlist: http://tiny.cc/LocusVsTasker
 
The following users thanked this post: Andrew Heard

Offline karlchick

  • More than Newbie
  • *
  • Posts: 77
  • Thanked: 59 times
  • Country: gb
    • View Profile
  • Device: Samsung Galaxy A52 5G
Re: Editing theme in desktop
« Reply #7 on: January 06, 2022, 12:40:57 »
Guys I just remembered RouteConverter can show OSM maps and themes. I've just checked OAM v5 and Voluntary theme, it works, see lovely screenshot. Seems like a good way to test themes.

Thanks for this, I tried it and it works (no install too). Only issue is that it ignores categories and displays all overlay options in the theme - which can make for a rather cluttered display. Does anyone know if the app can apply/select overlays/categories?
Author of the OS Map theme.