I have a situation where I have a geojson layer in leaflet and I want to create a subset of this layer as a separate geojson to highlight specific features. What I am doing right now is passing in the subset manually as form a separate javascript file (the main feature is loaded as a topojson via omnivore). What I want to be able to, however, is pass the features to be included in the "highlight" geojson as an array of key values (or something similar) so that I can define the features to be included from within the script instead of having to manually pass it in externally.
Subscribe to:
Post Comments (Atom)
arcpy - Changing output name when exporting data driven pages to JPG?
Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...
-
There have been several Github issues raised regarding Leaflet z-indexing of layers, and I'm still not clear where things stand. I think...
-
I am trying to use MapServer to display a raster image (png). That's it for now at least. However, I am having no luck. When I visit my ...
-
I have a Polyline and would like to add new vertex to before start point or end point or at any part of the polyline using python in qgis. H...
No comments:
Post a Comment