Author Archives: brillian

Laravel 8 Simple Delete Confirmation with Bootstrap

By | 23rd June 2022

Setup Aplikasi Langkah Pertama Install Laravel 8 Pada langkah ini, silahkan teman-teman install laravel dulu, disini saya menggunakan laravel versi 8. Saya menggunakan composer untuk menginstallnya. Jika teman-teman menggunakan install laravel global bisa gunakan kode berikut: Namun, jika menggunakan cara tersebut. Project kita akan menggunakan versi terbaru dari laravel. Sedangkan requirement di laravel terbaru terkadang… Read More »

Tutorial Leaflet Intermediate – Leaflet Legend

By | 5th June 2022

Leaflet.Legend Leaflet.Legend is a plugin for Leaflet that display legend symbols and toggle overlays. Options Option Type Default Description position String ‘topleft’ The position of the control. title String ‘Legend’ The title of the control. opacity Number 1.0 Opacity of the container. legends LegendSymbol[] [] Array of legend symbols that will be added to the container. symbolWidth… Read More »

Tutorial Leaflet Expert – Leaflet GeoJson

By | 5th June 2022

Represents a GeoJSON object or an array of GeoJSON objects. Allows you to parse GeoJSON data and display it on the map. Extends FeatureGroup. first, create file data.js add file js into html last, add this script into your js Creation Factory Description L.geoJSON(<Object> geojson?, <GeoJSON options> options?) Creates a GeoJSON layer. Optionally accepts an object in GeoJSON format to display… Read More »

Tutorial Leaflet Intermediate – Leaflet Circle

By | 5th June 2022

A class for drawing circle overlays on a map. Extends CircleMarker. It’s an approximation and starts to diverge from a real circle closer to poles (due to projection distortion). Usage example Creation Factory Description L.circle(<LatLng> latlng, <Circle options> options?) Instantiates a circle object given a geographical point, and an options object which contains the circle radius. L.circle(<LatLng> latlng, <Number> radius, <Circle options> options?) Obsolete… Read More »

Tutorial Leaflet Intermediate – Leaflet Polygon

By | 5th June 2022

A class for drawing polygon overlays on a map. Extends Polyline. Note that points you pass when creating a polygon shouldn’t have an additional last point equal to the first one — it’s better to filter out such points. Usage example You can also pass an array of arrays of latlngs, with the first array representing… Read More »