icons

change size of marker in leaflet

ぃ、小莉子 提交于 2020-06-11 18:09:30
问题 I have one marker on the map in leaflet: var centerMarker = L.marker(centerPoint, { title: 'unselected' }).bindLabel(schools[i][0]); centerMarker.on('click', selectMarker); centerMarker.addTo(map); I want to change the size of that marker on click. I know that we can change icons but I just want to change the size of the same icon of the marker. 回答1: You can get the old icon from the marker itself, change the size of the icon and then call setIcon with the changed icon: var icon =

Storage location of yellow-blue shield icon

[亡魂溺海] 提交于 2020-05-24 21:31:26
问题 Where, in Windows, is this icon stored? I need to use it in a TaskDialog emulation for XP and am having a hard time tracking it down. It's not in shell32.dll, explorer.exe, ieframe.dll or wmploc.dll (as these contain a lot of icons commonly used in Windows). Edit: For clarification, I am emulating a certain type of dialog in XP. The icon is (most likely) not present there. So I want to extract it from the library that holds it in Windows 7. I am extending an existing implementation of this

System tray icon in node.js application

时间秒杀一切 提交于 2020-05-24 21:22:25
问题 This is what I need in my node.js application: System tray icon changing this icon during application work menu after clicking on icon creation of windows with fields for login / password and confirmation buttons This is what I found: https://github.com/appjs/appjs - It looks good, but there is still no system tray support (it looks it will be done in some time) https://github.com/zcbenz/node-gui - It looks there is support for all I need, but I can't install it (I think this project is dead.

Storage location of yellow-blue shield icon

房东的猫 提交于 2020-05-17 04:48:46
问题 Where, in Windows, is this icon stored? I need to use it in a TaskDialog emulation for XP and am having a hard time tracking it down. It's not in shell32.dll, explorer.exe, ieframe.dll or wmploc.dll (as these contain a lot of icons commonly used in Windows). Edit: For clarification, I am emulating a certain type of dialog in XP. The icon is (most likely) not present there. So I want to extract it from the library that holds it in Windows 7. I am extending an existing implementation of this

How to load a TImage using task dialog common icons?

微笑、不失礼 提交于 2020-05-15 09:13:37
问题 I'm trying to load icons used by Delphi's task dialogs into a TImage control. As I've learned here, I'm using LoadImage function but icons appear lightly different from the ones which are used by the MessageDlg function. unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TForm1 = class(TForm) Button1: TButton; Image1: TImage; procedure Button1Click(Sender: TObject); private { Private declarations } public {

How to load a TImage using task dialog common icons?

女生的网名这么多〃 提交于 2020-05-15 09:09:12
问题 I'm trying to load icons used by Delphi's task dialogs into a TImage control. As I've learned here, I'm using LoadImage function but icons appear lightly different from the ones which are used by the MessageDlg function. unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TForm1 = class(TForm) Button1: TButton; Image1: TImage; procedure Button1Click(Sender: TObject); private { Private declarations } public {

Blurry Launcher Icons

醉酒当歌 提交于 2020-05-13 07:04:11
问题 I am trying to add a launcher icon to my Android application, but something seems wrong with resolution whan app is installed. The device I'm working with has an XHDPI screen, so I am testing with a 96x96 (px) image. I used the Image Asset in Android Studio to generate a default icon: This is the result in my device: You can notice that the image is a bit blurry, as it has been resized. It happens with every icon I make. What is happening? I am using MIUI, altough it doesn't appears to affect

Add tooltip to font awesome icon

大兔子大兔子 提交于 2020-05-12 11:07:49
问题 Has anyone here added tooltips to font-awesome icons? I have the following jsfiddle, but cannot seem to find a guide to add tooltips to the icons. <header> <!-- icons for settings, change pwd and list of active sessions --> <div id="menuIcons"> <i class="fa fa-cog"></i> <i class="fa fa-user"></i> <i class="fa fa-lock"></i> </div> <!-- display welcome text --> <div id="welcomeText"> <p>Welcome Harriet</p> </div> </header> 回答1: The issue of adding tooltips to any HTML-Output (not only

Add tooltip to font awesome icon

微笑、不失礼 提交于 2020-05-12 11:05:19
问题 Has anyone here added tooltips to font-awesome icons? I have the following jsfiddle, but cannot seem to find a guide to add tooltips to the icons. <header> <!-- icons for settings, change pwd and list of active sessions --> <div id="menuIcons"> <i class="fa fa-cog"></i> <i class="fa fa-user"></i> <i class="fa fa-lock"></i> </div> <!-- display welcome text --> <div id="welcomeText"> <p>Welcome Harriet</p> </div> </header> 回答1: The issue of adding tooltips to any HTML-Output (not only

Add tooltip to font awesome icon

一个人想着一个人 提交于 2020-05-12 11:05:04
问题 Has anyone here added tooltips to font-awesome icons? I have the following jsfiddle, but cannot seem to find a guide to add tooltips to the icons. <header> <!-- icons for settings, change pwd and list of active sessions --> <div id="menuIcons"> <i class="fa fa-cog"></i> <i class="fa fa-user"></i> <i class="fa fa-lock"></i> </div> <!-- display welcome text --> <div id="welcomeText"> <p>Welcome Harriet</p> </div> </header> 回答1: The issue of adding tooltips to any HTML-Output (not only