Questions tagged [icon]
the term is used in a wide number of contexts for an image, picture, or representation;
118
questions
0
votes
0
answers
20
views
Trouble with Transparency: QGIS Icon Background Not Printing as Fully Transparent in PDFs
I create maps that incorporate a square PNG image with a transparent background using QGIS 3.16.4-Hannover and export them as PDF files for printing. The icon's transparent background is maintained ...
2
votes
2
answers
106
views
Using custom icon in the Expand widget in ArcGIS SDK JS?
Using the Expand Widget in ArcGIS Maps SDK for JavaScript, how can I specify a custom icon (eg an SVG or PNG image) rather than the Esri Calcite icons?
The expandIcon parameter only accepts a string ...
8
votes
2
answers
804
views
Does the center, or the tip, of the OpenStreetMap website teardrop icon, represent the coordinate point?
Does the center, or the tip, of the OpenStreetMap website teardrop icon, represent the coordinate point?
I mean some websites, and Google Earth, use pushpins, but they also have cross hairs on the ...
1
vote
1
answer
40
views
map.addLayer doesn't display KML points layer the first time in OpenLayers 4.6.4
I've posted this question on StackOverflow, but it seems like this is the correct forum to ask this, since nobody answered over there.
I have an OpenLayers project where the user can display/hide some ...
0
votes
1
answer
135
views
Display custom icon based on value of field in ArcGIS Online map viewer popup
I have a point feature layer which contains ten fields which only contain a "Y" or "N" string. For Example:
Location
Recycling
Indoor_Garden_
Outdoor_Garden
Outdoor_Learning
...
1
vote
1
answer
183
views
Error changing marker icon when clicked in Leaflet
I am trying to highlight a marker using a different icon when clicked. There are many posts about it but I am getting different error:
.setIcon is not a function.
This is my point data and the click ...
2
votes
1
answer
252
views
Reducing size of panels inside QGIS UI
I would like to reduce the size of panels in QGIS. I can easily reduce front and icon size by going to settings>general>font/icon size. But this doesn't change the size of the panels.
It's ...
0
votes
1
answer
517
views
Leaflet extra markers displaying icon but not marker
My code for formatting a JS Leaflet Extra Marker is like below where I've clearly given a marker color.
let parkMarkerIcon = L.ExtraMarkers.icon({
shape: 'circle',
markerColor: 'green',
prefix: '...
0
votes
0
answers
114
views
Exporting AutoCAD symbology/icons into ArcGIS Pro and Field Maps
EDIT: My boss is the engineer that designs erosion control plans within AutoCAD. How do I obtain the symbology used in his Autocad files to utilize in ArcGIS Pro & Field Maps?
*attaching image of ...
1
vote
1
answer
246
views
Custom Style.json and Vector tiles loading but sprites not appearing in Maputnik
I have a custom tile server and custom sprites that I'm trying to add in Maputnik. I've added a symbol layer but I can't get the sprites to show up. I know the tiles are loading and working because if ...
1
vote
1
answer
565
views
How can you set the icon heading to stay oriented north?
I have a KML file that I am trying to animate. I have changed the icon heading already in the KML code, but the custom icon still rotates.
<IconStyle>
<heading>0</heading>...
1
vote
1
answer
725
views
Create custom legend control using L.ExtraMarkers.icon icons in Leaflet?
Is there any way I can add Leaflet Extramarkers to my legend? From what I googled, it seems I'll have to add an image of markers... however I was hoping I could use the ones I created.
var Icon = L....
2
votes
2
answers
4k
views
Changing marker icon on click and then back to original state when click elsewhere in Leaflet?
I'm trying to get this function on my custom Leaflet map https://rodadagua.netlify.app/
I've found some very close examples and questions on here but being a complete novice unfortunately I have no ...
1
vote
1
answer
1k
views
Clicking on markers from marker cluster layer always opens the same URL in Leaflet
I have marker cluster layer in Leaflet. I want to open specific URL when individual marker is clicked, but every time I click on any marker the URL of the last marker is opened.
I've tried many things ...
1
vote
1
answer
92
views
How could I make .jpg files don't use the QGIS icon [closed]
I'm a bit perfectionist and the QGIS have a annoying little problem: it changes all of my .jpeg and .jpg icons to QGIS file icons. I would like to change that, but I have no idea.
I use Linux Minx ...
1
vote
1
answer
3k
views
Change marker icon on mouseover/mouseout in Leaflet
I have a map made with Javascript, on which there are numerous points and each one of them has a specific png marker.
I managed to display all the markers correctly with the following code:
var ...
5
votes
1
answer
196
views
Preserving QgsLayerTreeViewIndicator on moving node in layer tree with PyQGIS
I am using the script below to display an icon next to my layer in the layer tree view, which works fine. However, when a user moves the position of that node, the indicator disappears.
layer1 = ...
0
votes
0
answers
35
views
Search Symbol change within Web AppBuilder
This is to be used on a public website so usability is key. When searching an address the small dot symbol appears. Is it possible to change this symbol to a different icon such as a square or house ...
0
votes
1
answer
59
views
What does the padlock mean in the QGIS project icon? [closed]
What does the lock mean in the .qgz file icon?
0
votes
1
answer
163
views
Specify an icon in Schema in kml?
Is it possible to specify in a Schema an icon to be used in all the Placemarks?
Below is an example. I have replaced < and > with ~
~Schema name="SPIIA" id="SPIIA"~
~...
0
votes
1
answer
537
views
Adding tmap_icon to legend in r
The tmap_icons() function within the tmap package allows users to call a png file into tmap to be used on a map. However, I can't seem to find out how to add custom symbols to the tmap legend. See the ...
3
votes
1
answer
1k
views
Stopping OpenLayers Text Icon overlapping on icons
I created a style with pin SVG and text (ID of my feature) on top, but when I zoom out, the text overlaps other pins as well. Below is the code of style
style: function (feature) {
return [new ol....
8
votes
1
answer
255
views
Hiding icon(s) from QGIS toolbar(s)
Is it possible to hide some icons from QGIS toolbar(s) which are not used often?
I tried with Settings > Interface Customization but I didn't find an option for removing a single icon, however here ...
4
votes
1
answer
1k
views
Data driven icon rotation using Mapbox GL
I am trying to rotate map icons based on an "orientation" attribute field (which provides the bearing in degrees). I've tested this in Mapbox studio and it is working fine. When I copy/paste ...
1
vote
1
answer
94
views
QGIS change icon in legend
could I change the icon of my legend in the mapcomposer?
I want other icons for my layers in the legend then in the project.
I use the Version 3.4.8 LTR.
2
votes
1
answer
312
views
Creating icons for QGIS plug-in
I have developed a plugin for QGIS. It has two buttons and I have to add custom icons for it. How can I create custom icons for this?
3
votes
3
answers
12k
views
Add something into L.CircleMarker
I have two different colored CircleMarkers for two geojson layer. Is it possible to add a letter into those circles, without using divIcon?
This is where I give them the color.
function getColor(...
1
vote
1
answer
942
views
Defining custom icon for points in L.geoJSON within fetch call
I am trying to define a new icon for my points in Leaflet but am drawing a blank. I am using Fetch (see code) to access the data and have it displayed with the default icon but can't work out how to ...
0
votes
0
answers
157
views
Only one icon gets loaded on Google Chrome whereas all the icons get loaded on Safari
I am using OpenLayers to display a map on my browser. I am getting data from a JSON file and using it to add icons on my map. The code works well on Safari (all icons get loaded) but when I try to use ...
1
vote
1
answer
661
views
Can show only one icon using style function
I am trying to add two icons to the map and add border to these two icons. However, only one icon gets the border and other icon does not even show up on the map. It is the same with more than two ...
2
votes
1
answer
229
views
Use icons for polygons based on Boolean values from attribute table as secondary symbology
I have a multypolygon-shapefile of government districts in Germany with two columns, "population density" and "yesno":
The first has integer the second one Boolean values.
I have already colored the ...
4
votes
2
answers
780
views
Opening KML with preserved raster symbology for icon
I have a KML file where the Icon is a png image of a generated coverage, and the idea is to overlay this in a layer over a basemap background, below is the KML file:
<?xml version="1.0" encoding="...
2
votes
2
answers
593
views
Layer Syling icons and font size QGIS 3.8.3 64 Bit
I've installed the 64 bit version of QGIS 3.8.3
I use an external full HD screen. Layer styling fonts and icons are extremely big. I've changed the font and icon size in options, but the problem ...
1
vote
0
answers
196
views
Changing features attributes in OpenLayers
I am using OpenLayers 5.3.3 and I want to change attributes of the specific feature in my map in OpenLayers. After changing the features I want to the changes to be updated in my map.
this....
4
votes
2
answers
508
views
Recommended icon properties for QGIS plugin?
Starting with PyQGIS documentation - Developing Python Plugins:
icon - a file name or a relative path (relative to the base folder of the plugin’s compressed package) of a web friendly image (PNG, ...
1
vote
1
answer
979
views
Custom icon with Leaflet
I'm trying to add custom icon in Leaflet, but it doesn't show on map.
This is my code:
<script type="text/javascript">
function fc_MapMod_initialize_99()
{
var ...
1
vote
0
answers
338
views
OpenLayers Icon with ngClick
I am working off the OpenLayers Icon Symbolizer example (https://openlayers.org/en/latest/examples/icon.html) to create an equivalent to a Google Maps marker
new google.maps.Marker({...})
With ...
3
votes
1
answer
632
views
Using internal QGIS icons / banner in own plugin
I have a problem using the internal symbols/icons in my plugin. For example I want to use the "save" Symbol in a QToolButton or the "cancel" symbol in a QPushButton.
I designed the GUI in QT 5 ...
2
votes
1
answer
101
views
Polygon fill outside of stroke in print composer
For some reason the polygon fill is outside of the stroke in QGIS print composer. My stroke width is set to 0.18 which I would like to keep constant. Is there anyway to fix so that the stroke goes on ...
2
votes
1
answer
425
views
What does this symbol mean?
I have just used the shape tool to create an elliptical buffer around a point. However after doing this, within my layers table I have the symbol seen within the figure below (seen in red box). Note, ...
0
votes
1
answer
255
views
Variable iconUrl in Leaflet, use GEOJson property voor iconUrl definition (Leaflet)
My script is as follows:
function clickFeature(e, feature) {
var layer = e.target;
var string = new feature.properties.categorie;
var bigIcon = new BigIcon({iconSize: [24, 40], iconUrl: +string+...
4
votes
1
answer
11k
views
What are possible values of iconSize in Leaflet Marker Icon Options?
I have a very standard script:
var redIcon = L.icon({
iconUrl: '1.png',
iconSize: [10, 10], // size of the icon
iconAnchor: [5, 5], // point of the icon which will correspond ...
8
votes
3
answers
9k
views
Changing colour of imported SVG icon in QGIS 3.4
I have imported my customised icon (which was obtained through the .jpeg image conversion) for point layers using an SVG file.
This works well except for the fact that the original colour was ...
3
votes
3
answers
823
views
Access icons from within QGIS plugin with relative paths?
I have constructed a QGIS plugin using QGIS Plugin Builder 3.0.3.
Within my plugin, I need to load a .png file as a Qicon object. What needs to be done for the plugin script to locate the .png file ...
1
vote
0
answers
834
views
Making custom markers resizable in Leaflet?
This fiddle (from Stefan_Fairphone) is a quick example of what I need to do for a project. But i need to add two features for these custom markers: make them scalable and spinnable.
I'm trying to ...
3
votes
2
answers
7k
views
Dragging and dropping images into Leaflet map to create image markers?
I am using Leaflet. I need to make custom, draggable, resizable icons for the map, using custom images that are set inside a sidebar as such:
<div id="mySidebar" class="sidebar">
<a ...
1
vote
1
answer
2k
views
OpenLayers 4.3.4 - Feature, ol.style.icon rotation - rotate heavy but not good?
I display a feature-marker with ol.syle.icon. But when I put a rotation value, the icon rotate heavy in chaos order?
I thought the rotation value 0-360 is clockwise, is not it?
So e.g. a value of ...
4
votes
1
answer
7k
views
Using custom icons for Leaflet Layer groups?
I have searched posts and tutorials and could not find the answer to my specific application of this feature
Almost all the examples use L.marker to simply place a marker on the map using various ...
1
vote
1
answer
750
views
Publish graphic icon into geoserver from QGIS [duplicate]
I want to publish graphic icon (point) into geoserver by using maki style. Below is the coding,
<UserStyle>
<se:Name>streetlight_u4</se:Name>
<se:FeatureTypeStyle>
<...
1
vote
1
answer
7k
views
Showing FontAwesome Icons on Openlayers
I can't show these icons from FontAwesome:
var map = new ol.Map({
layers: [
new ol.layer.Tile({
source: new ol.source.OSM()
})
]
, target:...