This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var data = [ | |
[2001, 2524.85], | |
[2002, 1400.12], | |
[2003, 234.32] | |
]; | |
// Bagaimana cara menghapus index 2002 ? | |
// Result |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace app\controllers; | |
use Yii; | |
use yii\web\UploadedFile; | |
use app\models\Formulir; | |
use dektrium\user\Finder; | |
use dektrium\user\models\LoginForm; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER TABLE participant ALTER COLUMN nationality TYPE integer USING (nationality::integer); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function ScriptOpenlayers(){ | |
/*** | |
* Script dasar openlayers | |
***/ | |
$setView = explode(",", $this->options['setView']); | |
$view = $this->getView(); | |
$view->registerJs(" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Advanced Mapbox Vector Tiles</title> | |
<link rel="stylesheet" href="http://openlayers.org/en/v3.18.2/css/ol.css" type="text/css"> | |
<!-- The line below is only needed for old environments like Internet Explorer and Android 4.x --> | |
<script src="http://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script> | |
<script src="http://openlayers.org/en/v3.18.2/build/ol.js"></script> | |
<style> | |
.map { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"name": "POLA RUANG","token": "token","legend": [{"color": "white","label": "kawasan"}, {"color": "yellow","label": "cagar alam"}]}, {"name": "Bandara","token": "token","legend": [{"color": "white","label": "kawasan"}]}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table class="table table-bordered"> | |
<thead> | |
<tr> | |
<th>NO</th> | |
<th>First Name</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<th scope="row">1</th> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* @var $this yii\web\View */ | |
use yii\web\view; | |
use app\components\MapCanvas; | |
$this->title = 'My Yii Application'; | |
?> | |
<div class="site-index"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "peta-kerja", | |
"type": "fill", | |
"source": { | |
"type": "vector", | |
"tiles": [ | |
"http://gas.bukapeta.com/bsr/render/859b611e-3c10-499d-ac79-ad90529820ce/cc1bcee1-c5f3-4f0b-830d-b490f9cc55fa/mvt/{z}/{x}/{y}.pbf" | |
] | |
}, | |
"layout": {}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "peta-kerja", | |
"type": "fill", | |
"source": { | |
"type": "vector", | |
"tiles": [ | |
"http://gas.bukapeta.com/bsr/render/859b611e-3c10-499d-ac79-ad90529820ce/cc1bcee1-c5f3-4f0b-830d-b490f9cc55fa/mvt/{z}/{x}/{y}.pbf" | |
] | |
}, | |
"layers": [ |
OlderNewer