Indonesian Boundaries
Alternatives To Indonesianboundaries
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Laravel Mysql Spatial7132116a year ago26October 17, 202078otherPHP
MySQL Spatial Data Extension integration with Laravel.
Laravel Eloquent Spatial191
14 days ago24February 28, 20233mitPHP
Laravel Eloquent spatial package.
Nova Map110
a year ago10June 04, 20226Vue
Laravel Nova Map Field
Laravel Geo46
1a year ago12March 17, 20225gpl-3.0PHP
GeoSpatial integration on Laravel 5.2+ that supports MySQL and PostgreSQL.
a year agomitTypeScript
Indonesian Boundaries
Laravel Spatial3
4 days agomitPHP
Laravel Eloquent spatial package
Laravel Spatial2
4 years ago3otherPHP
Laravel 5 package working with spatial data
Alternatives To Indonesianboundaries
Select To Compare

Alternative Project Comparisons

License Version Downloads

Indonesian Boundaries

Is a Laravel package that provides a basic map of the country of Indonesia.

Spatial Source

The spatial source I use comes from Badan Pusat Statistik (BPS - Statistics Indonesia).


Due to the limited time for the maintainer to search for the latest data for each boundary, we are not obliged to make the changes you requested ASAP.

If you have the latest data and want us to update the data we have, please send it to [email protected].

Data can be either JSON or SHP provided it has a region code in its properties.


I don't know exactly, but it's been tested on

  • Laravel 8
  • PHP 7.4


composer require octopyid/indonesian-boundaries:dev-main

php artisan vendor:publish --provider="Octopy\Indonesian\Boundaries\ServiceProvider"

Basic Usage

  • resources/views/map.blade.php
<!doctype html>
<html lang="en">
        <meta charset="UTF-8">
        <meta name="viewport"
              content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Map Example</title>
        <div id="map" style="height: 990px"></div>


        <script type="text/javascript">

  • app/Http/Controllers/MapController.php

namespace App\Http\Controllers;

use Exception;
use Illuminate\Contracts\View\View;
use Illuminate\Contracts\View\Factory;
use Octopy\Indonesian\Boundaries\Boundary;
use Octopy\Indonesian\Boundaries\Draw\Draw;
use Octopy\Indonesian\Boundaries\Config\Style;
use Illuminate\Contracts\Foundation\Application;

class MapController extends Controller
     * @param  Boundary $boundary
     * @return Application|Factory|View
     * @throws Exception
    public function index(Boundary $boundary)
        $map = $boundary->element('map');

        $map->center(-0.487177, 116.317060);
        $map->draw(function (Draw $draw) {
            # Draw provincial boundaries
            $draw->province([61, 62, 63, 64, 65])->style(function (Style $style) {

        return view('map');



The MIT License (MIT). Please see License File for more information.

Popular Laravel Projects
Popular Spatial Analysis Projects
Popular Frameworks Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Spatial Analysis
Laravel Package