Skip to main content

Questions tagged [markers]

An object used to indicate a position, place, or route

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Point features not rotating when map view is rotated using QGIS

I have a point layer in QGIS with features sorted after a specified value. Meaning, my features are categorized and are symbol layers of type "Font Marker". Now, since they are street labels ...
Juan Sebastian Barajas Narvaez's user avatar
0 votes
1 answer
30 views

Arrow symbols are 180deg off rotation in QGIS

I'm using QGIS 3.36, and I have a layer of geotagged images that I've marked with arrows. I've rotated the arrows with the images exif data and while they're all rotating, I've noticed they're ...
oucil's user avatar
  • 103
1 vote
1 answer
25 views

Why do my markers not show on my tmap, using two different data frames?

I have a data frame that plots the urban area units from the Timaru District, New Zealand. To give you some idea of the size of the map, this is the Wiki page on Timaru showing geographical location ...
Michelle's user avatar
  • 125
0 votes
1 answer
70 views

Leaflet markercluster: getting the zoom level at which a specific marker is no longer clustered?

I'm using Leaflet markercluster in an app. I have an endpoint where a specific marker is selected (eg. ../marker/12); so the maps centers on that marker and displays its popup when the page loads. But ...
gordie's user avatar
  • 274
3 votes
1 answer
82 views

Changing marker shape to ArrowHead using PyQGIS

With the code below I can add a marker to the symbology of a line type layer. But by default, this marker is a circle. layerName = 'rede_bombas' vLayer = QgsProject.instance().mapLayersByName(...
Aloísio Ângelo's user avatar
1 vote
0 answers
40 views

How to render marker for each features gotten from vector tile API in Mapbox GL JS?

I am using Mapbox GL JS in my vuetify project. I have a vector tile API. This API will return points for each tile (xyz). I use addSource and addLayer to render the features gotten from the vector ...
timewalker's user avatar
0 votes
1 answer
38 views

How to change Simple Marker to SVG Marker?

I have a line type layer and I want to add an svg type marker, I managed to add a simple marker to the layer's symbology according to the image, with the attached code. Is it possible to change this ...
Aloísio Ângelo's user avatar
1 vote
0 answers
38 views

QGIS doesn't render QgsCategorizedSymbolRenderer

I'm trying to use QgsCategorizedSymbolRenderer to control the appearance of symbols in a vector layer. To create a simple layer (with circles of different colors), I'm using the following snippet: vl =...
sergiojones's user avatar
1 vote
1 answer
91 views

Map moves every time a marker is added in ipyleaflet

I am trying to create a map that is updated continuously with received data and I have a problem. the map moves every time a new marker is added and it is making it useless as it should be zoomed to ...
Shane roar's user avatar
1 vote
1 answer
35 views

How to make a Google Maps URL to get both marker and terrain?

In the https://developers.google.com/maps/documentation/urls/get-started examples We can have a marker, https://www.google.com/maps/search/?api=1&query=47.5951518%2C-122.3316393 Or we can choose ...
Dan Jacobson's user avatar
0 votes
0 answers
93 views

How to set iconAnchor at the center of markers icon?

The following is how I can center the markers icon with given size. L.marker(center, { icon: L.icon({ iconUrl: `<my-custom-icon.png>`, iconSize: [17,36], iconAnchor: [...
smartmouse's user avatar
0 votes
0 answers
96 views

Marker icon images not displaying in Leaflet.StyleEditor

While using Leaftlet.StyleEditor plugin, I cannot change the marker icon as the available icon images are not displayed. I tried the Demo(https://dwilhelm89.github.io/Leaflet.StyleEditor/) from the ...
user3072602's user avatar
0 votes
0 answers
38 views

How to display on a final map the scale of a vector field marker?

I'm using the vector field marker to display earth deformation. For that, I defined the vector field marker with cartesian components (x (field_3) as displacement in West-East and y (field_4) as ...
user238085's user avatar
4 votes
2 answers
162 views

QGIS: Using marker line to calculate fence post positions and counts

I am making a farm plan in QGIS. One of the layers is the fencing layout (Shapefile / Line String). One of the fields is the post distance. Other is virtual field calculating post amount (length($...
Jozef Fekiač's user avatar
1 vote
1 answer
94 views

Multi-layer control filters with more than one feature.properties option selected

I´m using the groupedlayers with empty "dummy" layer groups that are only used to enable or disable filters for the GeoJSON layer when selected/unselected in the layers control. Layers ...
Cesar Fonseca's user avatar
0 votes
1 answer
105 views

Setting specific zooms when clicking on different circle markers from the same layer in Leaflet?

I'm creating a Leaflet Map with circle markers designating specific plots of forest land across the U.S. When the user clicks on a marker, a popup shows up with information about the plot. Since the ...
Zac's user avatar
  • 11
2 votes
2 answers
120 views

Using marker drag event instead mouseover on each polygan layer in Leaflet?

I want to use this leaflet example: https://leafletjs.com/examples/choropleth/example.html with some changes: add a marker to map. i done it like this: var center=[ 37.8, -96 ]; marker = new L....
mrmiremad's user avatar
0 votes
1 answer
124 views

Displaying layer marker only after feature found with search plugin in Leaflet

I have been playing with different Leaflet plugins. One I am especially interested in is the Leaflet search plugin (https://github.com/stefanocudini/leaflet-search). I have been able to implement it ...
Bfox's user avatar
  • 1
0 votes
2 answers
156 views

Highlight all markers with the same feature value upon marker click in Leaflet

I have created a map with several points in qgis2web. I was wondering if there is a way to edit the final leaflet JavaScript code or HMTL in order to, when clicking on one of the points in the map the ...
Konstantinos Sideris's user avatar
1 vote
1 answer
266 views

Setting custom SVG icon for external GeoJSON point layer in Leaflet

I am attempting to make a public transport map of Berlin within Leaflet. I have exported layers from QGIS as GeoJSON and edited the file and added a var within a text editor. I am having some ...
Gregory C's user avatar
  • 413
0 votes
1 answer
206 views

MarkerCluster element popup does not appear when clicking a spiderfy element, instead unspiderfy is triggered in Leaflet

I have created a custom popup that appears whenever an element on my map is clicked. However, when spiderfy happens (when a marker cluster is clicked and the map cannot zoom to a level that would ...
ysi_d's user avatar
  • 23
1 vote
0 answers
381 views

MarkerCluster does not zoom when cluster clicked if it cannot reach a zoom level that will separate elements. How can I check for this? [closed]

I have a map with a maximum zoom level of 18. It is possible to have data points that are so close together that they are still clustered at zoom 18, and it is also possible to have multiple data ...
ysi_d's user avatar
  • 23
0 votes
1 answer
107 views

Property e.propgatedFrom.feature not available in marker cluster click event in Leaflet

In a Leaflet map, when a point feature is clicked I want to capture its attributes and pass them onto some variables. The point feature is part of a cluster. The leaflet marker cluster is sourced as ...
user3072602's user avatar
0 votes
1 answer
2k views

Setting marker cluster icon color dynamically in Leaflet?

In a Leaflet map, when a school point is clicked it passes an id of that school and adds a student point layer specific to that school. The point layer is rendered on the map as marker cluster. So, ...
user3072602's user avatar
0 votes
1 answer
77 views

How to extract the GPS data of the markers that I added in my shapefile in QGIS?

I was wondering, is it possible to extract the GPS coordinates of the red markers that I added in a shapefile in QGIS?
Asd0311's user avatar
1 vote
0 answers
752 views

How to add a point to an OpenLayers map

I have this: let draw; let save; let dibujo; let coordinates = []; let old_coordinates = []; let map; const source = new ol.source.Vector({ wrapX: false }); const raster = new ol.layer.Tile({ ...
Alejandro's user avatar
1 vote
1 answer
1k views

Adding, removing and modifying markers in OpenLayers

I am making a web page with a map which requires some operations with markers/waypoints. I need to add markers to a map, one of them should move to a given point which would be updated each second/...
Alejandro's user avatar
5 votes
2 answers
260 views

Create line-type symbology perpendicular to a segment in QGIS

I want to create a symbology (line type) for a point layer in QGIS. This line must be perpendicular to the segments of a polygon. I attach an image: To do this I entered an expression in the rotation ...
Ma6matto's user avatar
1 vote
1 answer
201 views

Highlight marker when click and remove previous highlight in Leaflet

This is a follow up question to "Error changing marker icon when clicked in Leaflet". I want to highlight a marker when clicked but at the same time reset previously highlighted marker. I ...
user3072602's user avatar
1 vote
1 answer
306 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 ...
user3072602's user avatar
1 vote
1 answer
795 views

Use data from JSON file with Leaflet GeoJSON marker

I have a JSON file that I am fetching from and I would like to use the 'LAT' and 'LON' attribute to place markers. The problem is I am unable to see any markers appear. I think it's because the file ...
Nat's user avatar
  • 65
1 vote
0 answers
144 views

Adding markers to the map in standalone PyQGIS

I want to add markers to the map at geographical coordinates, preferably numbered labels as I need to identify different addresses given in a list. Later I want to export the map into PDF using ...
Tambet Väli's user avatar
2 votes
1 answer
408 views

Create a toggle for users to place markers in Leaflet?

I am working on an webpage that uses Leaflet. The users can currently place a marker on the map when they click a specific area. I was wondering if there is a way to add a toggle so that the user can ...
Buzzkillionair's user avatar
2 votes
1 answer
153 views

QGIS: Markers of actual size

I'm looking for the best way to plot ship outlines to the correct size in QGIS. I have a series of GPS positions inserted as points and I know the dimensions of the ship relative to the location of ...
Duncan's user avatar
  • 21
2 votes
1 answer
63 views

How to display in QGIS a mountain saddle with a symbol which indicates the orientation of the saddle?

I exported mountain saddles (natural=saddle) from overpass-turbo.eu as GeoJSON. I manged to display the saddles on a map with a symbol/marker like a point. I'd rather like to display the saddles on ...
think nice things's user avatar
0 votes
1 answer
46 views

PyQGIS Rastermarker Maximum Size/Scale

I am trying to set a "Maximum" scale or size limit for a RasterMarker inside PyQGIS. - Qgis 3.22 self.marker = QgsVectorLayer("Point?crs=epsg:4326", "marker", "...
Christian Land's user avatar
2 votes
0 answers
170 views

Rotating marker symbols using QGIS

I imported a delimiter text layer in QGIS with 4 columns (lon,lat,angle,norm). My goal is to show these points with a specific symbol (an arrow), oriented accordidng to the angle field. I think I ...
Alyson LE QUILLEUC's user avatar
1 vote
0 answers
934 views

Getting the source marker of an on click event in Leaflet? [closed]

I create multiple Markers in leaflet and bind an on click event handler to each of them, such as: marker = L.marker( geoJsonPoint.geometry.coordinates, { icon: someIcon } )....
Gorgsenegger's user avatar
0 votes
0 answers
300 views

Converting data symbology from Fill to Marker

I'm new to QGIS and can't seem to find any way to convert data from "Fill" to "Marker" I have some data that I would like to overlay on a basemap as Markers which vary in size ...
lwr02's user avatar
  • 19
4 votes
1 answer
238 views

Changing the shape of the overview marker in QGIS print composer

I was wondering if it is possible to change the marker in an overview while working on an atlas in print composer of QGIS. Could I change the shape of the marker to the actual form of the polygons in ...
Jackie's user avatar
  • 41
1 vote
1 answer
1k views

Folium: export coordinates from markers

I'm looking for a way to export the coordinates from markers on the map in folium. I know that one can get the coordinates over the current mouse position, but I would like to use this information for ...
Loui77's user avatar
  • 13
3 votes
2 answers
530 views

Choose and save specific SVG markers in QGIS for different text values within the same field in the attribute table

I have a vector layer with different types of retail units on a map. For instance: hairdresser, baker, butcher, supermarket, etc. This information is stored within a same field column called "...
Philippe Morgan's user avatar
2 votes
1 answer
285 views

Creating Proportional Symbols with Leaflet

After converting the data in this table to geojson, I want to present it on the map by sizing it according to the "y_2021" values, but I get many errors like in the picture. Can you help me ...
T..'s user avatar
  • 23
0 votes
1 answer
637 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: '...
user09873920143532's user avatar
1 vote
0 answers
192 views

Is there any way to create a dynamic marker with a self-populating pie chart (within the marker) in QGIS?

I have to plot security incidents on a map, and while I have been having great success on QGIS with the general mapping, as well as using clusters to indicate more than one incident on the same ...
Tertius's user avatar
  • 11
0 votes
0 answers
12 views

Outline image markersymbol in esri maps

I have a marker , i need to populate the same with ouline color , var bufferedArea = geometryEngine.buffer(results[x].geometry, 1); var bufferedGraphic = new Graphic(bufferedArea, BufferSymbol); map....
amitesh verma's user avatar
2 votes
1 answer
504 views

SVG or PNG image from web as maker symbol (QGIS)

Is it possible to use a image (SVG oder PNG) from web (http) to use it as maker icon in QGIS? In my case: Hiking Trails in OSM sometimes have a symbol as way marking (wiki:symbol). Here is one: https:/...
MartinMap's user avatar
  • 8,338
4 votes
1 answer
186 views

QGIS Triangle marker size control

I have a series of points along a line and I want to project a 'beam' of acoustic energy from each one. I am looking to see how the beam might overlap. The beam is 0.5 degrees (+/- 0.25 degrees) and ...
WillH's user avatar
  • 455
1 vote
1 answer
175 views

Sort items of Leaflet List Markers plugin control?

I'm reading shapefiles with the leaflet library. I print the list of markers on the left in a list via the Leaflet List Markers library. I should sort the list of map markers that are shown to me on ...
user1423513's user avatar
3 votes
2 answers
1k views

Show markers on each point of GeoJSON polyline in Leaflet?

I have a line feature and would like to visualize all vertices. I am able to do this in QGIS (see screenshot) but I am wondering how I can do this in my Leaflet map? My JavaScript code drawing a ...
Thomas's user avatar
  • 1,755

1
2 3 4 5
10