classygmaps icon indicating copy to clipboard operation
classygmaps copied to clipboard

Classic tile colours?

Open csuke opened this issue 9 years ago • 13 comments

Barry, is it possible to switch to the non-washed out tiles, a-la the UK road colouring workaround?

http://webapps.stackexchange.com/questions/71063/getting-correct-uk-road-colours-in-google-maps-in-firefox

csuke avatar May 05 '15 12:05 csuke

Kind of. Can do this: http://nearby.org.uk/google/new-uk-roads.php

It uses the Styled Map feature to colour the roads roughly as the UK scheme. But notice it does it worldwide :)

It was only a test, was never happy with the red A road colour its still a bit washed out. And B Roads still not coloured right.

barryhunter avatar May 05 '15 12:05 barryhunter

I've added it ClassyGMap :) http://gokml.net/maps?t=u&ll=54.2354,-3.466&z=6

I dont know how long those 'legacy' tiles mentioned in that SO post will continue to be available, which is why reluctant to add that, but suppose could try it.

barryhunter avatar May 05 '15 13:05 barryhunter

Just a follow up, as did some more research about the A road color.

It seems the styled map feature, can't differentiate between A (non-trunk), B roads and C roads - it calls them just 'Arterial'. Which is why they all orange. A roads are shown slightly thicker, but still white.

(Trunk A roads, and Motorways are differentiated and called 'Highway', which is why they can be coloured Green and Blue)

And the legacy tiles, does look like it colours A roads orange, while B and C roads are not differentiated and just shown in yellow.

barryhunter avatar May 05 '15 16:05 barryhunter

There is a feature request for more complete breakdown, https://code.google.com/p/gmaps-api-issues/issues/detail?id=5448

Suggest staring it! (A star counts as a vote!)

In reading that, notice that motorway sliproads are not catered for. they show in green, not blue. Not noticed that before.

barryhunter avatar May 05 '15 16:05 barryhunter

Looks much better :)

Could you apply the legacy tiles to satellite view as well? :)

csuke avatar May 06 '15 15:05 csuke

Hmmm, can do the same styling to the Satalite layer, http://nearby.org.uk/google/new-uk-roads2.php (works for Hybrid as well as Terrain and normal map mode :)

But would need the 'layer id' for the legacy Hybrid tileset, not sure myself how to find that. Would need someone to have saved it from before I guess. That optimap example and http://o.ht/GMaps/ both know how to contruct refernces to the old road map tiles, need the same task for the hybrid tiles.

If you know how to find hybrid tile refernces - or know someone who already done it, let me know!

barryhunter avatar May 06 '15 15:05 barryhunter

Ahh, found it! Thanks to http://stackoverflow.com/questions/23017766/google-maps-tile-url-for-hybrid-maptype-tiles

See: http://gokml.net/maps?t=l&ll=54.2354,-3.466&z=6

barryhunter avatar May 06 '15 15:05 barryhunter

Awesome :)

Any chance of a few more zoom levels? :)

csuke avatar May 06 '15 15:05 csuke

Ah, didnt realise they available upto z=21, now updated.

barryhunter avatar May 06 '15 16:05 barryhunter

Thanks, again :)

The other huge benefits to the legacy tiles is the much improved contrast, sensible road widths, and getting trails and parking lots to display in satellite view.

csuke avatar May 06 '15 16:05 csuke

found another issue :) apiv2 tiles are no longer updating, apiv3 needs to be used: http://mt0.googleapis.com/vt?lyrs=m@230000000&src=apiv2&hl=en-US&x=130982&y=87196&z=18 https://mts0.google.com/vt/lyrs=m@298169234&hl=en&src=apiv3&style=37%7Csmartmaps,%2059&x=130982&s=&y=87196&z=18&s=Galile The second one is up-to-date

csuke avatar May 06 '15 16:05 csuke

Hmm, I just noticed the Legacy tiles no longer seem to work :(

The old tiles have updated their colour scheme. Both links in your post above, and http://optimap.co.uk/ itself, now have the new orange scheme. Grr

Affects the legacy hybrid tiles too.

back to the the styled maps version, however ugly that it is.

barryhunter avatar Jun 02 '15 19:06 barryhunter

Sort of tangential to this thread, ... I've just rewritten the map styling code, from offering distinct new map types (in the map selector top right), to be a separate distinct "Map Style" dropdown.

As well as meaning its much easier to add more basemap styles, they also apply what ever mode you in, be it map, terrain, or satellite.

So can get the mostly working UK Road Style in Terrain and Satalite too.

barryhunter avatar Jul 28 '15 12:07 barryhunter