Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mkgrgis opened this issue May 18, 2021 · 0 comments

Comments

@mkgrgis
Copy link

mkgrgis commented May 18, 2021

[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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant