A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [markers]

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

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

Trying to scale simple marker so that the size gets smaller as you zoom out [closed]

I am trying to get a large view of a data set through the state of Texas. They are wellheads so obviously a lot of data. I want to make them smaller as you zoom out and for some reason I can't get it ...
1
vote
0answers
28 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
70 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
votes
0answers
39 views

Clicking marker to display popup using OpenLayers [closed]

I'm looking to display a pop-up when we click on the marker. I'm using OpenLayers 5. How can I do this? I enclose the code: - marker: var feature = new ol.Feature({ geometry: new ol.geom....
0
votes
0answers
49 views

Python, Folium choropleth, plot by value

I have a GeoPandas dataframe: self.geopd = gpd.GeoDataFrame(df, geometry=gpd.points_from_xy(df.Longitude, df.Latitude)) Angle of point Latitude Longitude geometry 0 ...
1
vote
1answer
24 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, ...
0
votes
1answer
17 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 ...
2
votes
1answer
41 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
40 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
55 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
35 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
63 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 ...
3
votes
0answers
39 views

QGIS 3 3D Marker

In the 3D view I add 3d.obj files as Marker.works very well. Is it possible to add different 3D markers on different layers or categories. When I use 2 different layers with different obj files 3D ...
0
votes
0answers
28 views

Icons/Features disappear after removing one feature from vector Source

I am using OpenLayers 5 and i have a map which has multiple icons. When i try to remove an icon from my map, all the icons disappear at once. Code Below is to add the vector source which contains ...
3
votes
1answer
198 views

Resize vector marker according to zoom (i.e. marker constant size in meters) in Leaflet?

I have a map with 20 markers on a geojson layer. They are all from the same SVG and represent a certain area on the map (meaning they represent a circle of constant radius in meter on the map). I need ...
0
votes
0answers
54 views

Static map image with markers and labels

I need to create a image automatic way of a map with markers custom and label with 5 characters, I tried with the API Google Maps static but only one character is leted. Mapbox let me use maki icons,...
1
vote
0answers
34 views

Load KML to GeoJSON [closed]

I want to let Marker to other style. This is my code: <script> var url = 'leaflet/WGS84.kml'; doSomething(url); function doSomething(url) { var runlayer = omnivore.kml(...
0
votes
0answers
12 views

Overlapping markers popup content ArcGIS JS

I have an ArcGIS Javascript 4.x map built into my Angular application. My current problem is that, after displaying a series of Markers on the map, there are many overlaps. Clicking on one of the ...
1
vote
1answer
170 views

Resizing Leaflet CircleMarkers after zoom level changes?

I am trying to find a way to have my CircleMarkers resize themselves after zooming in or out so that they scale properly with the map. So far, I have tried firing map.InvalidateSize() on the zoomend ...
2
votes
1answer
54 views

Displaying direction arrow on pointstopath in QGIS?

I found Displaying direction of movement with points2paths in QGIS? which should work but it doesn't. It looks as though it's an older version of QGIS (I'm using Madeira). Arrow gives a very strange ...
1
vote
2answers
221 views

Leaflet GEOJson marker pins are not a Layer?

I currently have the following code which is used to display a series of GEOJson marker pins on a LeafletJS 1.5.1 map and it also displays a KML layer which can be toggled on and off using a checkbox. ...
1
vote
0answers
38 views

Group members add their location to OSM map?

We have a Facebook group with about 100,000 members. How can we create an OpenStreetMap map where members who have the URL to the map can add their location with a marker (only one marker per member), ...
3
votes
1answer
51 views

Starting Dash Space Pattern with space instead of dash in QGIS?

I need to create a simple line symbol which starts with a gap (space) instead of a dash. I avoid replacing the simple line with a marker line because of the x-axis offset that i need to introduce. Can ...
0
votes
0answers
26 views

Add custom icon via mapbox.attr

I try to add my custom icon via mapIcon attr but doesn't work: <script type="text/javascript"> function fc_addressint_initMap(mapBox) { var mapLatLon = eval("(" + mapBox.attr("...
1
vote
1answer
159 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
1answer
57 views

Using custom marker name in Leaflet from external GeoJSON file

I have the following code (which works great): <!DOCTYPE html> <html> <head> <link rel="stylesheet" href="https://unpkg.com/leaflet@1.5.1/dist/leaflet.css" integrity="sha512-xwE/...
0
votes
1answer
709 views

React-Leaflet: Marker has wrong position after zoom out

When I show a marker in the center of the map it is OK. But when I zoom out, the marker is like staying at the same place. Finally its position is very wrong. Why is it not moving together with the ...
2
votes
1answer
85 views

QGIS very slow and stops when increasing points size / number

I used the "graduated" style option to represent data by year. Then for each year I used this method with a custom function to increase point size according to the number of points at the same ...
1
vote
2answers
258 views

Bouncing markers when hover over sidebar

I would like the markers on my leaflet map to bounce when hover over corresponding list-item in sidebar. How to connect markers and list-items. List-items and popups all generated dynamically, their ...
1
vote
0answers
138 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 ...
0
votes
1answer
583 views

How to cluster markers using the “Geojson-dashboard” in Leaflet JavaScript

I know how to use Leaflet.markercluster, but for some reason I can't use with geojson-dashboard framework template for Leaflet (http://fulcrumapp.github.io/geojson-dashboard/). But I have a simple ...
0
votes
1answer
459 views

Open the popups of all markers that are visible on the map with a zoom > 10

I need to open all the markers that are visible on the map at Zoom > 10. I am using leaflet.markercluster plugin. Init map: initMap() { this.map = L.map('map', { center: [55.55, 37.61], ...
0
votes
0answers
166 views

Leaflet markers at same geo location (ClusterGroup)

I have a map created with leaflet with different markers. Sometimes the markers have the same (1:1) geo position. I have already tested the great addon clustergroup, but I need the function to be ...
0
votes
0answers
312 views

How to save marker and polyline in database?

I want to store marker and polyline in the database. In this script, I have 3 functions, that is to draw a polyline, marker and the point of destination. Can anyone fix my script below? var map; var ...
1
vote
1answer
155 views

Adding Altitude to a marker in WebGLEarth

Im trying to add an altitude to a marker in WebGLEarth but i cant figure out how to do it. I cannot find anything in documentation either. The idea is that my markers act as satellites so i need the ...
0
votes
1answer
4k views

OpenLayers 5 add multiple markers

I'm using OpenLayers 5 to show a map and add markers to it. I can see the map without any problems but only the last marker is shown. I saw an answer about using .clone() method on the marker that's ...
2
votes
1answer
147 views

How to create circles around points

I'm new to QGIS so please bear with me. I'm using QGIS 3.6. So I imported a CSV-file with latitude longitude coordinates (WGS 84), created markers and set them to have different colors (to show ...
0
votes
1answer
470 views

Changing marker shape to circles in Leaflet

I was wondering how to change the default marker shape in a Leaflet map to circles $.ajax("data/StatesPopulation.geojson", { dataType: "json", success: function(response){ ...
1
vote
1answer
619 views

Highlighting selected geojson feature and return to previous state when another one is selected using Leaflet?

I've a map with a geojson layer containing markers, polygons and lines. I made a module so that when a feature is clicked, its properties are displayed in a frame and not in standard Leaflet popup. ...
4
votes
1answer
2k 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 ...
1
vote
2answers
1k views

Leaflet - How to show feature properties in a box that is not a popup?

Popup giving features properties are interesting but I would like to make a side bar where properties of a clicked feature would show. I've got the traditional code for displaying geojson features ...
1
vote
1answer
361 views

Changing marker symbol in Leaflet AJAX

I have got a .json file to display in Leaflet map.The points are shown with custom blue dot markers. I cannot get to change them.How do I get to change the symbol? var greenIcon = L.icon({ ...
1
vote
0answers
328 views

Including iframe in tooltip in Marker?

Can we include an iframe in tooltip in Marker? import folium var=open("yolo.html", "r") var2 = var.read() map = folium.Map(location=[19.179180,72.972580],zoom_start=6, tiles="Mapbox Control Room") ...
0
votes
1answer
74 views

Drawing a marker on a shapefile with the given latitude and longitude?

I am using shapefiles to draw a custom map. They were created successfully with the help of ArcGIS Desktop. Now I need to draw a marker on shapefile based on an existing tuple of lat, lng. How can I ...
4
votes
3answers
2k 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 ...
1
vote
1answer
826 views

Add point markers in QGIS 3.4 without coordinates

I am new to QGIS and trying to insert svg markers into a map I've been creating. I am struggling to find resources on my exact problem. I read about creating a new georeferenced shapefile and layering ...
1
vote
1answer
255 views

Geting fitBounds and removeLayers to work in Leaflet

I am making a Leaflet map that gets its marker and popup information from a database. I have a dropdown that allows me to retrieve a subset of the entire database based on category. The drop-down and ...
1
vote
1answer
2k views

Adding popup to Leaflet but only on click?

As there a way to add a popup to a marker but only show it when it is clicked? As it seems to be default to show it when one is loaded. This is no good when markers are getting updated. Currently ...
1
vote
1answer
220 views

Performance issues with (clustered) point features

How do I get a point features layer containing roughly 2800 labeled features to perform smoothly when exported (and converted to GeoJSON) with qgis2web? Specifics: I use qgis2web 3.4.0 and QGIS 3.2.3 ...
2
votes
0answers
106 views

Using web images as markers in qgis

I'm attempting to follow along with this tutorial on using web images as markers within QGIS. I'm using static web-linked images, not webcams as in the tutorial. The code seems to be working ...