umap-project / umap

uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site.
https://umap-project.org
Other
1.19k stars 226 forks source link

icon size based on zoom level #354

Open hermann-san opened 8 years ago

hermann-san commented 8 years ago

Hi there, in my map the icons are too big on a certain zoom level because there are too many icons within a region.

Is it possible to make icons smaller based on certain zoom level? Can this be done on a per object basis or only for the complete map?

Can the object name at a certain zoom level be removed (i.e. not be displayed)? object or only map level?

Thanks in advance for you help.

umap

In the advanced properties of an object I can see "Zoom level for automatic zooms", but I don't know how to use this. No matter what I change there, the icon size doesn't change based on zoom level.

umap advance prop

Google maps makes some icon smaller (the red dots) if there are too many and also removes the object name on certain zoom level. umap-google

druxstr commented 8 years ago

Is it possible to make icons smaller based on certain zoom level?

No, but you can either clusterize points (Layer > Type of layer > with clusters) or use a different type of icons (circle, pin).

Can the object name at a certain zoom level be removed (i.e. not be displayed)? object or only map level?

Not to my knowledge. But You can display objects based on zoom when using remote data.

Zoom level for automatic zooms

This sets the zoom level displayed when you zoom on a point by using the navigation buttons on pop ups. When you click '+', the zoom displayed is set by the "Zoom level for automatic zooms".

hermann-san commented 8 years ago

Thanks for your suggestions. remote data is unfortunately not an option for me.

changing the type of icons helps a bit, but at a certain zoom level I would still need the standard icon with the symbol because I have different types of objects and symbols help in my case. clustered points has the same problem. It does hide the symbol. I'd much rather have only the symbol without object name and as I zoom in, the description automatically will comes up at a certain zoom level.

Changing the symbol type depending on zoom level would also help, but I understand that this is not possible in the current uMap version.

CelianGdfrd commented 1 month ago

Following up on this : would love for it to be a thing, it would make wider views more pleasant.