Leaflet yog qhib qhov chaw JavaScript tsev qiv ntawv siv los tsim cov ntawv thov hauv web. Thawj zaug tso tawm xyoo 2011, nws txhawb nqa ntau lub xov tooj ntawm tes thiab desktop platforms, txhawb nqa HTML5 thiab CSS3. Ntawm nws cov neeg siv yog FourSquare, Pinterest thiab Flickr.
Nplooj ntawv hauv JS yog dab tsi?
Leaflet yog qhov qhib qhib JavaScript lub tsev qiv ntawv rau mobile-phooj ywg sib tham sib maps. … Nws ua haujlwm tau zoo thoob plaws txhua lub desktop thiab mobile platforms loj, tuaj yeem txuas ntxiv nrog ntau cov plugins, muaj qhov zoo nkauj, siv tau yooj yim thiab cov ntaub ntawv API zoo thiab qhov yooj yim, nyeem tau qhov chaws uas yog kev xyiv fab los pab txhawb rau.
daim ntawv siv rau dab tsi?
Ib nplooj ntawv yog ib daim ntawv me me ntawm cov ntawv luam tawm uas muab hla cov lus luv luv kom meej thiab meej. Cov lag luam siv daim ntawv qhia tshaj tawm lawv cov khoom thiab cov kev pabcuam. Lawv kuj tau siv los qhia rau tib neeg paub txog cov khw muag khoom tshiab, tshwj xeeb thiab cov xwm txheej.
Daim ntawv thiab Mapbox yog dab tsi?
Leaflet yog "tsuas yog" daim ntawv qhia API. Nws tsis muab cov ntaub ntawv / daim ntawv qhia nws tus kheej. Mapbox yog ib qho kev pabcuam tsim thiab tshaj tawm cov duab qhia chaw, qhov kawg-qhov tshwm sim yog ib pawg ntawm cov ntawv qhia tsim-vuas khaws cia hauv huab (thiab qee cov ntaub ntawv json). Yog li, piv txwv li, koj tuaj yeem haus Mapbox maps los ntawm Leaflet.
Daim ntawv thiab piv txwv yog dab tsi?
Lub ntsiab lus ntawm daim ntawv yog ib feem ntawm nplooj, lossis ib daim ntawv luam uas muab xa tawm. Ib qho piv txwv ntawm ib nplooj ntawv yog ib feem ntawm cov nplooj taum. Ibpiv txwv ntawm daim ntawv yog ib qho kev tshaj tawm rau lub tsev noj mov tshiab hauv nroog. npe. Ib ntu ntawm nplooj ntoos sib xyaw.