How to customize location icons?


Emil Balley

I'm trying to replace the location icon in the demo with my own, but I haven't figured out how to do it yet. I searched for its declaration in the .json file without success.

{
        "class" : "map",
        "colortype" : "rgba",
        "columns" : 1,
        "filename" : 
        [
            "route_arrow.png",
            "route_arrow.png",
            "route_arrow.png",
            "route_arrow.png",
            "route_arrow.png",
            "route_arrow.png"
        ],
        "rows" : 1,
        "textureatlas" : 
        [

            {
                "textureheight" : [ 128, 128, 128, 128, 128, 128 ],
                "textureid" : 55,
                "texturelinear" : true,
                "texturelocation" : [ 0, 0 ],
                "texturename" : "route_arrow",
                "texturewidth" : [ 128, 128, 128,128, 128, 128 ]
            }
        ]
    },
Dragos

An icon for this location can be found in the application SKMapsResources->SKMaps.bundle->MapResources->Common. Many icons are used:

Here are all instances:

- ccp_2d, ccp_2d@2X, ccp_2d@3x, ccpmedium_2d, ccpmedium_2d@2X, ccpmedium_2d@3x, ccpsmall_2d, ccpsmall_2d@2X, ccpsmall_2d@3x, these icons form the resource of the 2D view.

- ccp_3d, ccp_3d@2X, ccp_3d@3x, these icons make up the resources of the 3D view.

To change the location icon you have to replace these pngs with the desired pngs. Make sure that all new icons are the exact same size as the original icons ( eg same pixel density: 32x32, 64x64, etc. ) and their colors are RGB only .

Related


How to customize location icons?

Emil Balley I'm trying to replace the location icon in the demo with my own, but I haven't figured out how to do it yet. I searched for its declaration in the .json file without success. { "class" : "map", "colortype" : "rgba", "columns

How to customize location icons?

Emil Balley I'm trying to replace the location icon in the demo with my own, but I haven't figured out how to do it yet. I searched for its declaration in the .json file without success. { "class" : "map", "colortype" : "rgba", "columns

How to Customize Special Icons

christian 007 I'm evaluating Install4j to see if I can replace InstallAnywhere. Custom Installer/Unistaller's icon [executable icon] is clear to me. The possibility to customize the image in the title bar is also evident. I'm asking if I also have customizatio

How to Customize Condition Icons

Arthur I want to customize icon standard. I need 5 conditions. I used IconSetCondition. requirement is: value < 0.85 value < 0.95 Value < 1.06 Value < 1.15 value >= 1.15 I want to use 3Traffic lights in this way: value <0.85 -> "red traffic light" value < 0.95

How to Customize Special Icons

christian 007 I'm evaluating Install4j to see if I can replace InstallAnywhere. Custom Installer/Unistaller's icon [executable icon] is clear to me. The possibility to customize the image in the title bar is also evident. I'm asking if I also have customizatio

How to Customize Condition Icons

Arthur I want to customize icon standard. I need 5 conditions. I used IconSetCondition. requirement is: value < 0.85 value < 0.95 Value < 1.06 Value < 1.15 value >= 1.15 I want to use 3Traffic lights in this way: value <0.85 -> "red traffic light" value < 0.95

How to Customize Condition Icons

Arthur I want to customize icon standard. I need 5 conditions. I used IconSetCondition. requirement is: value < 0.85 value < 0.95 Value < 1.06 Value < 1.15 value >= 1.15 I want to use 3Traffic lights in this way: value <0.85 -> "red traffic light" value < 0.95

How to customize R location for RStudio

alex benke I used to install R and RStudio's package installer using homebrew. Recently, I started using Boxen, which took over homebrew. I had to reinstall R from source using homebrew and it now exists in the Boxen Cellar location. Now RStudio no longer star

How to customize R location for RStudio

alex benke I used to install R and RStudio's package installer using homebrew. Recently, I started using Boxen, which took over homebrew. I had to reinstall R from source using homebrew and it now exists in the Boxen Cellar location. Now RStudio no longer star

How to Customize/Mark Hard Disk Icons in Launcher

Luis Alvarado Is there a way to change the hard drive icon in the launcher as I have a total of 4 hard drives and they all look the same. I'm wondering if it's possible to add the hard drive's label (if it exists) to the buttons, or add a custom icon to each b

How to Customize/Mark Hard Disk Icons in Launcher

Luis Alvarado Is there a way to change the hard drive icon in the launcher as I have a total of 4 hard drives and they all look the same. I'm wondering if it's possible to add the hard drive's label (if it exists) to the buttons, or add a custom icon to each b

Is it possible to customize the taskbar icons? If so, how?

gabardine I want to customize not only the desktop icons, but also the icons that appear in the taskbar, is this possible? Also, I'm not asking how to customize the icon pinned to the taskbar, but the icon that activates the program - specifically Chrome There

How to Customize/Mark Hard Disk Icons in Launcher

Luis Alvarado Is there a way to change the hard drive icon in the launcher as I have a total of 4 hard drives and they all look the same. I'm wondering if it's possible to add the hard drive's label (if it exists) to the buttons, or add a custom icon to each b

Is it possible to customize the taskbar icons? If so, how?

gabardine I want to customize not only the desktop icons, but also the icons that appear in the taskbar, is this possible? Also, I'm not asking how to customize the icon pinned to the taskbar, but the icon that activates the program - specifically Chrome There

How to customize Foobar2000 icons (including the main icon)?

username Foobar2000 is a highly customizable player, but is it possible to customize its icons - including its main icon? (I don't hate it, but I might want to change it, especially since multiple portable installations with multiple components and skins are a

How to customize Foobar2000 icons (including the main icon)?

username Foobar2000 is a highly customizable player, but is it possible to customize its icons - including its main icon? (I don't hate it, but I might want to change it, especially since multiple portable installations with multiple components and skins are a

Customize file types and icons

Becky: 我有一个用Java编写的游戏,它具有保存游戏并加载所有使用.txt文件的功能,但是我认为如果我可以拥有自己的文件类型,那就太酷了……我知道我可以将其设置为另存为尚未定义的类型,但随后我得到该文件的空白图标...是否可以在Java中为其提供自定义文件图标?我看过在线等,但我发现的只是Microsoft网站在c#和vb等中解释了其中的一些... 詹姆斯·坎贝尔: 我想,如果您在Windows中创建了文件类型(如果您在Windows中),则可以将文件类型添加到系统中。然后查看现有文件类型。现在,将您的图标关

Customize icons in grub theme

nt First of all, I don't know if this is the right place to post, so sorry if it's not. I have installed the theme ( tela ) in the grub bootloader and added the icon to the OS entry. Is there any way to manually assign icons to entries? For example, the Linux

Customize the icons on the js tree

friends I want to add a folder open close icon for closing and expanding, and a leaf icon for leaf nodes. please help Edit : Tried adding the type plugin, but it doesn't seem to work. var data = { 'core': { 'data': dataObj }, "sea

Customize Installer Icons with NSIS

soak I am using NSIS to create an installer. The output file installer.exe now has a standard icon that can be found at: {NSIS_Install_Dir}\Contrib\Graphics\Icons\classic-install.ico I want to use custom mines to change it, so in the documentation I suggest a

Customize file types and icons

Becky: I have a game written in Java that has the ability to save the game and load everything using a .txt file, but I thought it would be cool if I could have my own file type...I know I can set it as Save as a not yet defined type, but then I get a blank ic

Customize the icons on the js tree

friends I want to add a folder open close icon for closing and expanding, and a leaf icon for leaf nodes. please help Edit : Tried adding the type plugin, but it doesn't seem to work. var data = { 'core': { 'data': dataObj }, "sea

Customize icons in grub theme

nt First of all, I don't know if this is the right place to post, so sorry if it's not. I have installed the theme ( tela ) in the grub bootloader and added the icon to the OS entry. Is there any way to manually assign icons to entries? For example, the Linux

Customize the icons on the js tree

friends I want to add a folder open close icon for closing and expanding, and a leaf icon for leaf nodes. please help Edit : Tried adding the type plugin, but it doesn't seem to work. var data = { 'core': { 'data': dataObj }, "sea

Customize the icons on the js tree

friends I want to add a folder open close icon for closing and expanding, and a leaf icon for leaf nodes. please help Edit : Tried adding the type plugin, but it doesn't seem to work. var data = { 'core': { 'data': dataObj }, "sea

Customize the icons on the js tree

friends I want to add a folder open close icon for closing and expanding, and a leaf icon for leaf nodes. please help Edit : Tried adding the type plugin, but it doesn't seem to work. var data = { 'core': { 'data': dataObj }, "sea

Customize the icons on the js tree

friends I want to add a folder open close icon for closing and expanding, and a leaf icon for leaf nodes. please help Edit : Tried adding the type plugin, but it doesn't seem to work. var data = { 'core': { 'data': dataObj }, "sea

Customize the icons on the js tree

friends I want to add a folder open close icon for closing and expanding, and a leaf icon for leaf nodes. please help Edit : Tried adding the type plugin, but it doesn't seem to work. var data = { 'core': { 'data': dataObj }, "sea

Customize the icons on the js tree

friends I want to add a folder open close icon for closing and expanding, and a leaf icon for leaf nodes. please help Edit : Tried adding the type plugin, but it doesn't seem to work. var data = { 'core': { 'data': dataObj }, "sea