Dynmap-Forge/Fabric

Dynmap-Forge/Fabric

1M Downloads

Insert temporary marker when navigating to coords from URL

ReveredOxygen opened this issue ยท 2 comments

commented

Feature Description: Currently, when you place coordinates in the URL, all it does is center the viewport on those coordinates. This can somewhat work, but depending on server config, it may not be possible to zoom in far enough to easily tell what it's supposed to be centered on. If it were possible to insert a marker at the linked coords, it would make it possible to unambiguously indicate locations. The marker would only be visible in that tab, much like a dropped pin in google maps.

  • Additional context: On my server, we have a spreadsheet listing all the shops in the shopping district. I was trying to add a column with dynmap links, but it can sometimes be difficult to tell which building the shop is, based on nothing but the centering of the viewport.
commented

you can also set the zoom when using web ui parameters:

zoom - this specifies the zoom level to be selected (0 = highest zoom out). If not provided, a zoom level of zero is used (unless defaultzoom has been set in the configuration.txt).

https://github.com/webbukkit/dynmap/wiki/Web-UI-Parameters
this should suffice right?

commented

I'm aware you can set the zoom. The issue is that even with zoom of 8 (the highest supported on my server), it's hard to tell which shop it's indicating. I'm sure we could increase max zoom, but that would be more load on the server for no reason. We additionally already have storage issues, so we can't support storing even higher resolution maps of the world. There's also the issue that not all shops are the same size, so it would be hard to have a one-size-fits-all solution.

This screenshot was taken on max zoom. If I didn't already know, I'd be hard pressed to tell you what shop I'm supposed to be looking at
image