Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [icon]

the term is used in a wide number of contexts for an image, picture, or representation;

3
votes
1answer
43 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
1answer
35 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
1answer
172 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
1answer
32 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
1answer
219 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 ...
2
votes
3answers
470 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 ...
0
votes
1answer
54 views

How can I use SVG icons controlled over variable order attribute field?

I have about 200 different point categories. I want to order all these categories with one background SVG and one for the front. One solution is to categorize the points depending on one attribute ...
1
vote
1answer
74 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
0answers
260 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 ...
2
votes
1answer
484 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
1answer
307 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 ...
2
votes
1answer
1k 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
1answer
137 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> <...
0
votes
1answer
1k 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:...
0
votes
0answers
74 views

Typographic Icon as icon on OpenLayers

I have a repository with typographic icons. In HTML I would use it like: <span class="icon-font"></span> This class "icon-font" calls to a library and it represents a person icon for ...
0
votes
1answer
99 views

Is there a way in QGIS to cluster rather than overlap SVG icons from all layers

I have many layers in QGIS containing points. All layers were added as delimited/csv. PROBLEM: These are points from different layers, I'd like them clustered around the area instead:
1
vote
1answer
2k views

Icon to layer control (leaflet.js)

Problem with adding icon to layer control. CSS: .fa-b:before { font-family: Courier; font-weight: bold; content: 'B'; } JS: var geojsonLayer = new L.GeoJSON.AJAX("...
1
vote
0answers
272 views

Leaflet.js - GeoJson properties as icon [closed]

In this map I am looking to display each image as a thumbnail from the GeoJson file. For the moment I am using this code: var myIcon = L.icon({ iconUrl: '<img src="feature.properties....
0
votes
1answer
343 views

Bug using Leaflet.awesome-markers plugin and print

I'm using Leaflet awesome marker icons and was almost all right, but when I try print, the icons doesn't show. Why? I tried: var redMarker = L.AwesomeMarkers.icon({ icon: 'coffee', ...
2
votes
1answer
610 views

Leaflet Markercluster, change active icon [closed]

I am using Leaflet with the markercluster plugin and I am struggling with the following issue for a while and I cannot get it to work. What I want to achive is, when clicking on the marker, the ...
0
votes
1answer
315 views

How can I use icons on a my own maptiles klokantech docker container?

If I take this example: https://www.mapbox.com/mapbox-gl-js/example/geojson-markers/ an change the mapsource from: style: 'mapbox://styles/mapbox/light-v9' to my own docker container: var map = ...
1
vote
1answer
1k views

Switch icons on geojson file in Leaflet

In Leaflet I would like to assign different icons to my Point of Interests based on attribute "tipo" in geojson file: { "type": "Feature", "properties": { "Name": "Fontana dei Colli", "tipo": "...
1
vote
1answer
276 views

Add points on zoom and remove points when zooming out

Problem I would like to add points/shelterIcons when zooming to level 12 or more and remove them again when zooming out. If all the points were defined as a layer I could add/remove them with the ...
1
vote
2answers
162 views

Is it possible to add style to CSS icons/marks in Geoserver style?

In my Geoserver set up, I have a style that references a custom icon in my data_dir. Is it possible to add CSS values to alter the image, rather than changing the image itself and uploading a new ...
2
votes
1answer
241 views

How to make icons from Layers Panel in QGIS to be larger?

I need to change the size of layers icons placed in Layers Panel of QGIS. I have tried to find some solution inside Settings/Options but without success.
0
votes
1answer
670 views

Creating custom icons within Leaflet Marker (only icon/ keep marker style)

I'm looking to adjust the actual icon within a marker rather than replacing the entire marker with a custom image. If I'm trying to use a custom .svg file for the 'icon' property, how can i force ...
2
votes
2answers
2k views

Images as markers for geojson

I have a geojson file with the location of some universities. This is the map. The logos are stored in a folder named img Here are the logos. Now I want to replace the default markers with logo for ...
3
votes
1answer
2k views

Leaflet Map easy Button: how to set icon?

I added an "easy button" to a simple Leaflet Map i'm working on, intended to be an info tab. I'm getting a blank tab, and while I see that the icon on the tab is intended to be a "font awesome" icon, ...
4
votes
1answer
632 views

How to create proportional symbol map in Leaflet using default icons?

I'm guessing this is possible but I cannot figure out how to do it. (Also, I am wondering if it would just be easier to do it with a custom icon or an SVG). My current code looks like this: function ...
1
vote
1answer
70 views

Representation/meaning difference between religious icons in open street map?

I'm curious what the difference is between these two icons used in open street map. The cross clearly represents a christian church. Is the kneeling icon a more general religious icon representing ...
2
votes
0answers
830 views

How to style markers so they dynamically offset if overlapping at different zoom levels? [closed]

I have created a map using Carto. The map has bespoke images as icon markers. I would like to style the map so that, if the icons overlap, they both render in an offset position so that the full ...
2
votes
2answers
2k views

Leaflet routing control change marker icon

Im looking for a way to show different markers for the two waypoint that are initialized by leaflet.routing.control. This is what i tried: var controlWalk = L.Routing.control({ lineOptions: ...
2
votes
1answer
613 views

Changing the icon picture on a custom toobar button

I've made a few customised plugins using Plugin Builder and QT. They're all up and running, but I'm having some trouble changing the icon picture on the buttons that I've added to the toolbars to run ...
2
votes
2answers
770 views

DivIcon vertical text

Iam struggling with one letter below the other vertical text orientation for DivIcon. Found some hints/hacks here https://davidwalsh.name/css-vertical-text But i couldnt manage to get it working for ...
1
vote
0answers
30 views

Icon twice after reloaded plugin

I am making a QGIS plugin with QGIS 2.14.10 I use the reload plugin each time i want to update the plugin. But sometimes, when my plugin bug and i reload it, i get the icon twice in the toolbar and ...
5
votes
1answer
444 views

Move plugin icon in QGIS version 2.19.0

Once a new QGIS plugin is selected and loaded from the "manage and install plugins" toolbar selection, the plugin automatically appears somewhere on QGIS' toolbar panels. Often, the new plugin icon ...
5
votes
1answer
4k views

Display L.marker without icon

Would like to start my leaflet map without any features displayed on start. The feature should not be displayed before a location is found via my search.control. I started with // first "invisible" ...
8
votes
1answer
746 views

Removing Santa hat from QGIS icon?

I just upgraded to QGIS 2.18.1 Las Palmas. This comes with a Santa hat on the icon in the top right corner and windows bar. Is it possible to remove this from my installation?
2
votes
1answer
3k views

Alter Leaflet L.Icon.Default

How to set the properties of L.Icon.Default.prototype.options? I want to change the size of L.Icon.Default.
1
vote
0answers
283 views

Icon / Symbol missing in vector tile map (integrated by ArcGIS API for JavaScript)

The web map was made by esri tools, since it contains two tile layers (a map tile layer overlapped by a vector tile layer) which hosting by Portal for ArcGIS 10.4, and then integrates through ArcGIS ...
4
votes
1answer
6k views

Custom marker based on geojson attribute in Leaflet

I would like to customize a marker to add an id (number) on top of it, this id is coming from an attribute of the geojson ("id" in the following example) { "type":"FeatureCollection", "features":[ ...
0
votes
1answer
2k views

absolute paths don't work for my leaflet custom icons

I've made an example leaflet project using a custom icon loading an image from the internet: https://jsfiddle.net/dvdjsph/v30vL109/ As soon as I try to load something from my hard drive, however, ...
1
vote
0answers
54 views

On the flow generated Symbols in QGIS (2.14), Function

I'd like to use on the flow generated / assembled symbols in QGIS 2.14, but am not able to code with Python at all (will later learn it). Could someone give me a code-snippet with short comments on ...
2
votes
1answer
391 views

How to create a custom polygon fill pattern with only one icon?

I have created a custom SVG icon in QGIS. When I zoom in it repeats the shape over and over within the polygon. I want to only see one icon even when I zoom in. For example, the icon is a single ...
4
votes
1answer
413 views

Where are the QGIS Style Manager settings stored?

I would like to export all the icons defined in QGIS Style Manager to another QGIS installation in another PC. I've been looking in Windows Registry inside "HKEY_CURRENT_USER\Software\QGIS" but I did ...
0
votes
2answers
2k views

Using Bootstrap Glyphicons as markers for vector layer in Openlayers3

I want to use the bootstrap glyphicon set as markers for a kml layer in an application using openlayers 3. I have tried the following: var shopStyle = new ol.style.Style({ image: new ol.style....
10
votes
1answer
388 views

Group and align icons in QGIS atlas

I am making an atlas of protected areas using QGIS. I am using version 2.12, but this question will probably also apply to version 2.14 as well. Several points of interest (poi) objects are presented ...
6
votes
2answers
483 views

Leaflet marker/icon help

I am trying to get the default marker NOT to show, but it's coming up WITH the icon that I want, so I have a marker and icon like this: I'm getting my data from a OSM nomination search result. if (...
2
votes
2answers
304 views

Icon for plugins in own repository

Does anyone know if there is an opportunity to add icons for your own plug-in in its own repository? like this not like this with green puzzle other illustration I spied on how to implement it on ...
1
vote
1answer
1k views

Leaflet: Change icon inside a function

I have a custom function that pulls the markers from a json file called markers.json : var markers = { "resources": [ { "name": "AITokarServer", "coords": [ { "x": ...