GithubHelp home page GithubHelp logo

Comments (7)

M-Reimer avatar M-Reimer commented on August 31, 2024 1

Thanks for providing these.

(I research Gaode's document found that it only use raster tiles when WebGL is disabled

That's an interesting find. Google Maps has a similar feature. They also load tiles in some proprietary format on their own website (which very likely is some kind of "vector tile") but at least all "external users", I tried so far, still used raster tiles (but don't have to. They can opt into vector tiles if they want). Google also describes vector tiles as a "WebGL feature". I wonder if they also fall back to raster if WebGL is missing.

Of course it is not really an option to ask all users to disable WebGL as this is used for more things and you would considerably reduce the features of a modern browser. But I already have listeners that hook into web requests so it could be an option to also hook into the actual javascript file load and patch 'getContext("webgl")' to something like 'getContext("some_invalid_context")' to make WebGL detection for the map service always fail.

from osm-everywhere.

M-Reimer avatar M-Reimer commented on August 31, 2024

Sorry but this won't help me. What I actually need are some pages where their map service is used for testing and for analyzing how the URLs actually look like if used.

And I would even more prefer if someone from China would have a look into this. I don't know about popular pages using maps in China. Here in Germany this is much easier for me. For example every big supermarket chain provides a map with their locations. So for my needs it was a good start to get all the supermarket location maps remapped to OSM to have a pretty good coverage.

from osm-everywhere.

LaoshuBaby avatar LaoshuBaby commented on August 31, 2024

Another recommend(?) tool: https://libredirect.github.io/

from osm-everywhere.

M-Reimer avatar M-Reimer commented on August 31, 2024

Can you please provide me with some chinese example pages? Maybe a few popular chinese shops which provide a map to find their locations? I tried but I'm not able to efficiently search for chinese websites.
If no one can provide any information that helps me, then I guess the request is not that important and it will be closed in two weeks.

from osm-everywhere.

LaoshuBaby avatar LaoshuBaby commented on August 31, 2024

Can you please provide me with some chinese example pages? Maybe a few popular chinese shops which provide a map to find their locations? I tried but I'm not able to efficiently search for chinese websites.
If no one can provide any information that helps me, then I guess the request is not that important and it will be closed in two weeks.

For example, The forbidden city

  • in Baidu map:

https://map.baidu.com/poi/%E6%95%85%E5%AE%AB%E5%8D%9A%E7%89%A9%E9%99%A2/@12959220,4825334.5,13.62z?uid=06d2dffda107b0ef89f15db6&info_merge=1&isBizPoi=false&ugc_type=3&ugc_ver=1&device_ratio=2&compat=1&pcevaname=pc4.1&querytype=detailConInfo&da_src=shareurl

图片

  • in Gaode map(amap):

https://amap.com/place/B000A8UIN8

图片


Note 1: many of them will ask you login to show detailed POI information, just close that alert window.

Note 2: Baidu will use its' own vector format map as default, user need to click this in right and bottom, you don't need to know Chinese, click the blue 6 character button, then it will refresh and use raster tiles. And a sad news, looks like Gaode disable its raster version switch button and force user use vector online map.

图片

from osm-everywhere.

M-Reimer avatar M-Reimer commented on August 31, 2024

I do not replace tiles directly on the "provider website" (the website actually providing the map service). Doing so makes it difficult for OSM mappers to "have a look" at other map services.

So what I need is an external embed. For example a shop site using one of the commercial map services. Better two known map users per service.

from osm-everywhere.

LaoshuBaby avatar LaoshuBaby commented on August 31, 2024

If you means third party website that embedded those map service, looks at those example, they are raster. Is this helpful?

Baidu map

Here is a encyclopedia website that will show many aspect of a museum, it given user a map as transport guide:

https://baike.baidu.com/item/%E5%8C%97%E4%BA%AC%E6%95%85%E5%AE%AB/345415?fromModule=search-result_lemma#9_4

图片

Gaode map

A job hiring website that use gaode's map show company's address:

https://www.zhipin.com/gongsi/7d67b198abe5e86c1Hx9098~.html

图片

(I research Gaode's document found that it only use raster tiles when WebGL is disabled

I'm a firefox user so I change webgl.disabled=true in about:config

from osm-everywhere.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.