Code Monkey home page Code Monkey logo

tiles_with_st_asmvt's People

Contributors

androidfanatic avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

cuulee

tiles_with_st_asmvt's Issues

how can openlayers loading vector tiles which created by postgis ST_AsMVT

I have used sql to get vector tiles like this:

SELECT ST_AsMVT(tile,'xiaoban',4096,'geom') tile  FROM(
	SELECT ST_AsMVTGeom("Shape",ST_MakeEnvelope(114,34,122,38, 4326),4096, 0, true)
	AS geom FROM "LDBG_BHTB_PY" ) 
AS  tile where  tile.geom is not null

and i got the result like this:

(BLOB) 44.23 KB

I see many people use it with Mapbox's api,but i want use it with openlayers,because we have used openlayers for a long time in our project,we don't want adopt another api,where can get the openlayer's demo?

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.