简体   繁体   中英

Find hidden markers in google maps

So i found one custom map with only zoom buttons in which markers are shown only at 100% zoom. It is not very convenient, so maybe is there some way to show all markers on normal zoom? Some js code which i can add to url or something like that? Оr may be somewhere in the source code are coordinates of markers?

The short answer: No, not really, unless you look in the source :)

The answer that is a bit longer: As I take it you want to write something in the querystring of the webpage, and then see the markers. This would of course be possible if the one who made the site had made code to do that, but I don't think he would.

The only possibility is to look in the source code of the page and see if you can locate some sort of array that holds the markers. If you find one such array you can use a debug tool to execute your own JS where you run through the array and run .setVisible(true) on all the markers.

This is somewhat of a big hack, and I am sure the owner of the site has a good reason to not show the markers unless you are zoomed in, so I wouldn't mess with it unless it was really important. If you want the full list of markers you should ask the owner of the site.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM