Reference | Vector tiles - Docs Mapbox
文章推薦指數: 80 %
Vector tiles make huge maps fast while offering full design flexibility. The vector tile format is the vector data equivalent of raster image tiles for web ... Youareusinganoutdatedbrowserandwillencountersomeproblemswithourwebsite.Pleaseconsiderupgrading.UpgradeNowVectortilesSearchReferenceSpecificationAlldocsVectortilesReferenceVectortilesAbroadcollectionofnatural,built,andplacedataGlobalelevationdataConstantlyupdatingtrafficdataOpenstandardOnthispageHowwebmapsworkBenefitsofvectortilesOpenstandardShareyourfeedbackVectortilesmakehugemapsfastwhileofferingfulldesignflexibility.Thevectortileformatisthevectordataequivalentofrasterimagetilesforwebmapping,withthestrengthsoftiling:optimizedforcaching,scaling,andservingmapimageryrapidly.TheMapbox-ownedvectortilesetsdescribedinthisdocumentationarefreelyavailablefordeveloperstouseasdatasources.Mapbox-maintainedstylesusethesetilesetsasdatasources.Thesevectortilereferencedocumentsincludeinformationtohelpyoustylethedatafromeachtileset.Youcanrefertothesedocumentstofindinformationaboutlayers,datafields,datasources,andmore.HowwebmapsworkTraditionally,mapsarecreatedfromimagetiles.LikeforinstancethisPNGimagetiledepictingthecorneroflowerManhattanwithroads,buildingfootprints,andparks:Togettheunderlyingvectortiledatathatmakesupthisimage,youcanrequestitspecifically:http://a.tiles.mapbox.com/v4/mapbox.mapbox-streets-v8/14/4823/6160.mvt?access_token=YOUR_MAPBOX_ACCESS_TOKEN Asthenamesuggests,vectortilescontainvectordatainsteadoftherenderedimage.Theycontaingeometriesandmetadata—likeroadnames,placenames,housenumbers—inacompact,structuredformat.Vectortilesarerenderedonlywhenrequestedbyaclient,likeawebbrowseroramobileapp.Renderinghappenseitherintheclient(MapboxGLJS,MapboxiOSSDK,MapboxAndroidSDK)ordynamicallyontheserver(mapAPI).ReadtheMapboxVectorTileSpecificationtolearnmore.BenefitsofvectortilesVectortileshavetwoimportantadvantagesoverfullyrenderedimagetiles:Styling:asvectors,tilescanbestyledwhenrequested,allowingformanymapstylesonglobaldataSize:vectortilesarereallysmall,enablingglobalhighresolutionmaps,fastmaploads,andefficientcachingMapboxStreets,ourglobalbasemap,isentirelymadeofvectortiles.AnymapdatayouuploadwithMapboxStudioisconvertedintovectortilesbeforestyling.OpenstandardVectortilesareanopenstandardunderaCreativeCommonsAttribution3.0USLicense.Wesupportvectortilesacrossourproductsandthereisalargelistofvectortileimplementationbyothervendors.ReadtheMapboxVectorTileSpeconGitHubandgetintouchwithustherewithfeedbackandimprovements.Shareyourfeedback
延伸文章資訊
- 1Vector tiles - Wikipedia
Protocol buffers (Mapbox)
- 2Mapbox Vector Tiles - OpenLayers
A simple vector tiles map. Note: Make sure to get your own Mapbox API key when using this example...
- 3Unlimited private tilesets available for all users - Mapbox blog
- 4Vector tiles - Wikipedia
- 5Reference | Vector tiles - Docs Mapbox
Vector tiles make huge maps fast while offering full design flexibility. The vector tile format i...