I'm using the following code to add a callback function to the click event for some leaflet markers (of which I do not know the number a priori):    newArray.forEach(p => {   let marker = L.marker(latLng).on('click', this.markerClick...
For anyone experienced with leaflet or leaflet.draw plugin:  I want to initiate drawing a polygon without using the toolbar from leaflet.draw. I've managed to find the property that allows editing without using the toolbar (layer.editing.enable()...
When loading many feature footprint vectors onto the map, the openlayers map and web application becomes unresponsive.  Is there any way to improve the performance of the openlayers map with many vectors?    We would like to be able to support at le...
I am creating a map with about 1000+ points using Openlayers. Currently when I click on one point's icon, the description for the point shows up in a popup, and to exit the popup I need to click on the same point's icon again. Is there a way...
I am trying to use the ArcGIS 2.1 JS API to create a custom interface that looks similar to Google Maps.  What is confusing me (particularly with Dojo's layout scheme) is how Google Maps has a map pane that extends the whole width of the page and...
I'm attempting to create a TopoJSON file of school districts in the United States.  I have a set of three shapefiles that I am attempting to combine into a single topojson file, using the following batch script:  call topojson ^     -o SDs11_Topo...
I am looking to add a popup with geoJSON attributes to each book store marker on my map. I have used "layer.feature.properties.name" within the marker.bindpopup method, but am getting a return of "undefined".   L.mapbox.accessToken =...
This is my select option.      <select id="sel_dist" onChange="seldist();">     <option value="layer1" selected=selected>None</option>     <option value="layer2">1</option>     <option...
OpenLayers 3 renders's its marker icons as images on a canvas. Markers can have transparent background with non regular image icon. Is it possible to add a colored border of specific thickness and color using ol.interaction.Select?...
I'm playing with the Google Maps API (v3) and I've run into an issue with marker icons. I'm trying to vary the size of my markers depending on their individual data attributes.  The icons themselves are in a sprite that contains three dif...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.