Questions tagged [markers]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
36 views

Adding labels after meeting a zoom threshold in Leaflet

I'm making a map in Leaflet and I have up to two labels per marker: var redIcon = new L.Icon({ iconUrl: 'https://raw.githubusercontent.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-red....
0
votes
0answers
10 views

Drawing custom markers on Mapbox

I'am using mapbox-gl-js draw, and I need to draw custom markers inside the map. I can't find anyway in the documentation that talked about this issue. Work around is needed, any ideas?
1
vote
1answer
22 views

Customising a marker after performing a spatial search query

I'm have a geodjango app that uses leaflet for a front-end. I have integrated the search function on the front-end to be able to search a customer location in real-time, of which the code below does ...
0
votes
0answers
6 views

How to integrate and plot both heatmap and quivers/arrows for different timestamps using folium?

I want to plot wind velocity heatmap and wind direction quivers together for different timestamps on top of a map using folium. I could not find any plugin for this integrated operation. Can you ...
1
vote
2answers
48 views

Changing leaflet circle marker colour and size when clicked upon

I am currently using GIS to plot train stations within Wales I have currently made a custom circle marker to point to that of the stations latlng successfully adding it to the map. I am wanting the ...
-1
votes
1answer
67 views

GeoJSON custom marker for different data sources

I need help how to show markers with two different colors for two different GeoJSON data sources. Here's first source geojson.php: { "type": "FeatureCollection", "...
0
votes
1answer
42 views

Changing symbology from simple marker into a vector (print of a building)

I've got a question about changing the symbology of a certain rule-based layer. See below as to the current simple marker: As you can see the house is given this grey color because of the added 'topo'...
2
votes
2answers
84 views

Adding GeoJSON properties when creating marker in Leaflet

I used a manual marker input development under Leaflet found on this website : http://www.gistechsolutions.com/leaflet/DEMO/basic/addmarker.html I have added two properties to the markers: name and ...
4
votes
1answer
73 views

Removing and adding markers every 5 seconds freeze the browser after a several minutes

I am creating around 300 markers on Leaflet map and every 5 seconds I am getting new data from the server and I'm removing markers from the map and adding markers with new data. But the problem is ...
3
votes
1answer
68 views

QGIS 3 - default marker symbology

Working with QGIS3 (QGIS 3.2.3) Is it possible to change what the default point symbol is when adding a new point layer to a new project? Context: I have to work with massive point layers very often. ...
0
votes
0answers
16 views

How to Change and Display Marker Color and Marker Icon in GeoJSON Leaflet? [duplicate]

I have two files, .geojson and .html format, I want to use and display marker-color and marker-symbol (marker icon) in .geojson file. How to? I've displayed the basic blue popup and marker with the ...
0
votes
0answers
47 views

Search possibility to create markers with Leaflet, with name and description

I am looking for a possibility to create markers on a map with Leaflet. These markers will have a name and a possible description. I have seen on the website of the University of Ben-Gurion, a ...
0
votes
1answer
224 views

Is there a way to add custom ids to Leaflet markers derived from a GeoJSON file?

I'm fairly new to JavaScript and I'm currently trying to connect each of my Leaflet markers to a certain portion of text in another div so that when a user clicks the marker, the site will auto scroll ...
0
votes
0answers
32 views

How to copy the location of these markers on a website Google map?

I want to know the location coordinates of all those points in order to put them in GIS software. (QGIS) Is there an easy way to do it? This is the website: https://www.ah.nl/suppliers/map
0
votes
1answer
44 views

Clustering markers from GeoJSON after adding data to layer in Leaflet

I am trying to add clusters in my leaflet map. I use overlayMaps which helps to choose one of the active layers, and in that case I want my marker to be a cluster. But it is not clustering. Again ...
0
votes
1answer
52 views

RemoveMarkers() is not working for PruneCluster markers in Leaflet

I have a set of markers clustered with PruneCluster plugin. The data of these markers is rendered from GeoJSON layers, the way to do it is like this: var propsAmp = amphibiens.features var ...
3
votes
1answer
73 views

Prevent marker from moving in QGIS when zooming

I was wondering how I can prevent the movement of my markers when zooming out in QGIS. I have this sample image of Auckland on a larger scale where everything seems to be ok: Then I zoom out a little ...
1
vote
1answer
175 views

Cluster GeoJSON data with PruneCluster

I'm trying to create a cluster with categories using PruneCluster around my GeoJSON layers. As the example in GitHub They are creating randomly some markers then adding them to the cluster. I did the ...
0
votes
1answer
34 views

What do the acronyms OBT and OCIP mean on a survey plan?

When looking at survey plans for British Columbia, Canada, there are various acronyms used to describe survey markers. Ones that I do know include: BT - bearing tree CIP - capped iron post PP - "...
0
votes
0answers
17 views

I cannot able to popup the marker from the geojson in the leaflet [duplicate]

var json1 = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": {}, "geometry&...
1
vote
2answers
80 views

Removing individual Leaflet markers added through L.geoJSON

I'd like to click on a button in a sidebar outside a Leaflet map and remove a marker associated with that button. But when I bulk add data through L.geoJSON, the function appears to not create ...
0
votes
0answers
146 views

How to add points (marker) in Mapbox real time geolocation with Cassandra database?

I am now using Angular in web and ionic in mobile with spring-boot for communicate between web and mobile and I use Cassandra for database. I get longitude and latitude of mobile geolocation in real ...
0
votes
0answers
29 views

How do I create more makers with more unique popups?

I am attempting to create a map with Leaflet that has unique files attached to different popups. I can generate a marker with the popups I want but I can not generate a second marker with different ...
1
vote
1answer
335 views

Assign Markers to Polygons in Leaflet

I want to visualize polygons in Leaflet. I do this via L.geoJson, no problem here. But each polygon shall has it's own set of Markers, which should be dispayed, when the polygon is clicked and hidden, ...
1
vote
1answer
108 views

L.divIcon and aria-label attribute

I have three type of layer and for each layer a different marker, which I styled in CSS. The problem now is, that if someone uses VoiceOver or something like this, it's reading the 'html'. In my case, ...
1
vote
1answer
33 views

OpenLayers Style Text incorrectly aligned and moving on map resize

I have an OpenLayers map which I want to display SVG markers on with some text. I have got it to display the marker and it looks fine but when the map is resized the alignment of the text moves by a ...
0
votes
0answers
1k views

Google Maps API - .seticon size based on zoom level

I did look up this question on here but the answer used 'new google.maps.MarkerImage(' which has been deprecated, and I can't get anything else to work. I think it has to do with my array of markers, ...
1
vote
1answer
27 views

How to deal with several markers in the same location on a map, e.g. to let viewers know they're there, and regarding tooltips with different info

I've created a web map. There are several markers on it, each representing something, and a tooltip shows related info. Several markers are in the very same location (lat, lon). So there are two ...
0
votes
1answer
200 views

moveToLocation and open Marker-Popup automatically

For reference: I use L.Control.Search to search for my Marker. It's this Plugin: https://github.com/stefanocudini/leaflet-search/blob/master/examples/multiple-layers.html And this is the working ...
0
votes
0answers
25 views

Problem in showing marker and Waypoints own OSRM server

We have installed the OSRM step by step as provided in the link below benjaminberhault.com//post/2018/12/08/… but we are able to see the map but not the waypoints and markers.
2
votes
1answer
933 views

How to change the icon-image on click

I am using Mapbox and I am trying to change the icon-image by clicking on it, for example I want to change this: With this when I click: map.on('load', function() { map.loadImage('./images/...
3
votes
1answer
88 views

Repeat polygon marker line by interval: neighboring polygons

As you can see in the screenshot below, I use a polygon marker line with interval. If there are 2 neighboring polygons, the markers will be doubled - of course. But I need to suppress this effect. ...
0
votes
0answers
33 views

Mapbox Sheet Mapper: how to use different icons for the markers?

I watched a webinar on Mapbox sheet mapper. At the time linked in this youtube video, this exact question came up, how can you replace the markers with different icons? They said it's possible but ...
0
votes
0answers
138 views

How to draw a route line between more than one lat long in leaflet map

now I am using Leaflet map in my application but the problem is am not able to bring the line between lat long markers. Poly line just drawing the lines but not taking along with the road.. Currently ...
0
votes
0answers
433 views

How to show popup info after click to marker?

this is my code with some marker. I would like to show square with marker informations after click to some marker on map like there. I get piece of js code from this page, write to my code and tried ...
0
votes
1answer
55 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 ...
1
vote
1answer
151 views

How can I cluster my markers with GeoJSON file?

I'm here because I spent so many hours again trying to figure out how to make the leaflet.cluster.js plugin work on my map. Here is my code (very long, sorry) : I first build my custom marker with ...
1
vote
2answers
958 views

Custom Markers in Leaflet [closed]

I have a jsonObject full of supermarkets and I would like to map them and assign them a special marker depending on the name attribute. I have tried out a lot and also the Leaflet tutorial on custom ...
0
votes
0answers
103 views

Leaflet Buffer value by GeoJSON feature.properties

Is it possible to add a buffer to a list of points, taking the value of the radius from the properties of the GeoJSON file? This is my code to take points from JSON files and represent them as ...
1
vote
1answer
711 views

react-leaflet and clustering?

I am able to successfully map my data points using 'and` on a map: import React, { Component } from 'react'; import { Map, CircleMarker, TileLayer, Tooltip, AttributionControl } from "react-leaflet"; ...
0
votes
1answer
24 views

Why won't QGIS show markers outside the window?

I'm having an issue with the QGIS2.18.3: I have grid center points, where I want to put square shaped markers to create a grid. The problem is that if a center point is outside the window, the program ...
1
vote
0answers
213 views

Folium choropleth plots markers [closed]

I have this code to plot a choropleth from a GeoPandas DataFrame. def create_gpd_dataframe(self d = {'Angle of point': yard_list, 'Latitude': yard_lat_list, 'Longitude': yard_lon_list} ...
3
votes
1answer
554 views

Add a border and change border color of a marker in OpenLayers

I want to add a border color to the icons in OpenLayers. I also, want to be able to change the color of this border depending on the attribute of the marker. Is there any easy way to do this? The code ...
1
vote
1answer
246 views

How can I prevent a marker being dropped when the map is dragged in Leaflet?

I am using Leaflet to display a map in Angular8. I want to add a marker to the clicked location. Everything works fine, except the fact that a marker is being added after I finish dragging the map, ...
1
vote
1answer
137 views

Move and/or Remove Markers in ArcGIS Graphics Layer

I'm using the ArcGIS 100.6 iOS SDK and am populating the map with markers on a Graphics Overlay Layer whose locations are stored in a database common to all users of my application. Each marker is ...
3
votes
1answer
158 views

PyQGIS Remove VertexMarker

I have several plugins I am using that involve rubberbands and their equivalent points (QgisVertexMarkers). My problem looks to come from removing them from the display. This process worked fine in ...
1
vote
0answers
108 views

Adding markers to Leaflet MiniMap? [closed]

I am using Leaflet with the MiniMap plugin: https://github.com/Norkart/Leaflet-MiniMap Often, the zoom level difference between main map and mini map is so big that the bounding box shown in the ...
4
votes
1answer
82 views

QGIS Adding single arrow to polyline with dynamic position

In QGIS, is it possible to add a single arrow (indicating direction) to a polyline with a dynamic position, so that it is always in view as long as the polygon is in view? Adding "Arrow" to a line ...
1
vote
0answers
45 views

Draw several lines to represent the distance to a certain point for several points

It gives a certain point that I want to analyze. I want to see what is the distance of that point from the rest of the x points on the OpenLayers map ... The data comes from external JSON in the ...
2
votes
1answer
83 views

Plotting sample stations upon contour line in QGIS?

I need to create point sample stations on two contour lines (-10m and -20m). What I'm intending to do is, put markers (circle with stroke) on the contour lines, with equal distance from one point to ...

1
2 3 4 5
8