locator-tool icon indicating copy to clipboard operation
locator-tool copied to clipboard

No L.Marker, but a colored circles for a view mode and not only camera points in view mode.

Open mkgrgis opened this issue 3 years ago • 0 comments

[feature request] For a view mode like https://locator-tool.toolforge.org/#/map?category=Category:Muskau_Park&categoryDepth=7 make not (only) markers, изображение but a small circles like

var l = L.geoJSON(x.geoJSON, {
		style: x.st,
		pointToLayer: function(feature, φλ) {
			return L.circleMarker(φλ, { radius: 4, weight: 3, color: feature.color });
		}
});

You can determine radius, wight and colour

  1. for points of camera with no point of object
  2. for points of camera with point of object
  3. for points of object with no point of camera
  4. for points of object with point of camera

Full query with both camera and object points have URL like https://wikimap.toolforge.org/api.php?cat=NAME&subcats&subcatdepth=8&camera=true&locator=true&allco=true .

Thank You for useable utility, @simon04 !

mkgrgis avatar May 18 '21 04:05 mkgrgis