Open link in new window when clicking on user location marker
Currently when clicking on a user’s location marker at
/u/user-map?period=location the link is opened in the same window/tab. This is inconvenient because when going back to the map it is reloaded from scratch and zoomed out to the full extent instead of where the user was before.
Solution: Open the click on the marker in a new window while leaving the map undisturbed.
Let’s say your site has users world-wide and you are searching for users in New York with a specific interest that’s noted in the user card in the form of a custom user field:
- Open the user map at /u/user-map?period=location
- Zoom in sufficiently to see New York user place markers
- Click on one marker
- You decide that user is not who you’re looking for based on the user card info.
- Go back to #1
Keep in mind that it can take some time to load the map in #1. It takes about 3 seconds in my case. Zooming in on the general location also takes time and multiple clicks or mouse scrolls.