{"repo":"LarsWiegers/laravel-maps","free":true,"listed":false,"github":"https://github.com/LarsWiegers/laravel-maps","clone":"git clone https://github.com/LarsWiegers/laravel-maps.git","description":"Your laravel maps libary.","language":"PHP","stars":366,"topics":["laravel","maps","map","googlemaps","leafletjs","package","hacktoberfest"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Laravel maps This package allows you to easily use leaflet.js or google maps to create a map in your laravel project. Installation You can install the package via composer: If you want to customize the map views more then you can publish the views: Supported map types What Basic map Different map types Centerpoint Basic markers Use bounds Zoomlevel Can use different tiles Can be used multiple times on the same page ----------- :-------: :-----------------: :---------: :-----------: :--------: :-------: :---------------------: :------------------------------------------ Leaflet ✅ ❌ ✅ ✅ ❌ ✅ ✅ ✅ Google maps ✅ ✅ ✅ ✅ ✅ ✅ ✅ ❌ Tilehosts Openstreetmap Openstreetmap is a creative commence tile library created by volunteers. No configuration has to be set to use as it is the default tilehost for this library. More information can be found here: openstreetmap.org Mapbox Mapbox is a for profit company that also offers free keys. Their map can be more accurate / precise. To get your free key go to mapbox.com Once logged in you can get your free key and use it by placing it in the env file like this MAPS MAPBOX ACCESS TOKEN . Attribution Mapbox requires you to have attribution when you use their tilehost. More information on that here: https://docs.mapbox.com/help/getting-started/attribution/ We provide a default value if you use mapbox. But if you want to customize it you can pass in the te text via the attribution attribute. Like this: Usage Leaflet Do note that if you want to use multip","default_branch":null,"files":null,"tree":[],"storefront":"/r/LarsWiegers","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/LarsWiegers/laravel-maps/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}