Open jidanni opened 3 years ago
So the problem is that to be able to open a hybrid (i.e. Satellite with Labels on), I'd need a URL format that distinguishes it from regular Satellite with Labels off.
When I try switching Labels on or off, the displayed map changes, but I see no change in the URL.
I don't know if such a URL exists. If you know of a guaranteed way to distinguish the two types, please let me know and I'll be happy to incorporate it.
OK, if https://www.google.com.tw/maps/@24.1713049,120.8416391,17z/data=!5m1!1e4 is Terrain, then https://www.google.com.tw/maps/@24.1713049,120.8416391,17z/data=!3m1!1e3 "gets" Hybrid. (Gained via lots of experiments. Seems to work.)
Both of those are already available. The first is the "Terrain" link. The second is the "Earth" link. https://github.com/david-r-edgar/MapSwitcher/blob/master/src/outputMaps.js#L139-L140
So maybe I don't understand what you're looking for?
Ah, no wonder. You should call your link Hybrid. Because the real Earth link should look like https://earth.google.com/web/@0,0,0a,22251752.77375655d,35y,0h,0t,0r Which is much more CPU intensive, which is why I never dared to click yours to find out what you linked to, as I assumed you had liked to earth.google.com .
Ah, I understand the confusion now!
Actually I've never installed Google Earth, and had kind of forgotten it existed, so I've never considered supporting it... but that's interesting, it's probably worth adding another link for.
I don't entirely remember now why I called the existing link "Earth"; I've a feeling that at one stage the web UI called satellite view "Earth". Clearly it's no longer called that.
I will rename it, although I reckon it's probably better to call it "Satellite", as I don't see the term "Hybrid" being used anywhere nowadays.
Satellite means Satellite with no labels. Hybrid means Satellite with labels. That is the custom for the last 20 years in the map link world.
But yes, on maps.google.com Hybrid is indeed called just Satellite now (with labels being a sub-choice.) So nobody will blame you.
One can choose Google Earth, but no plain Google Hybrid.