key | value |
---|---|
Name | 布川悠介 (Yusuke Nunokawa) |
Note | ynunokawa |
@_ynunokawa | |
Qiita | ynunokawa |
GitHub | ynunokawa |
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
mapboxgl.accessToken = 'pk.eyJ1IjoieW51bm9rYXdhIiwiYSI6ImNpaDkxcXg3YzB0c3p1dWtpZTJrcTczYmIifQ.mDJcqEDs62VDMQd0iVtMRw'; | |
const map = new mapboxgl.Map({ | |
container: 'map', // container id | |
style: 'mapbox://styles/mapbox/light-v9', // stylesheet location | |
center: [139, 35], // starting position [lng, lat] | |
zoom: 5 // starting zoom | |
}); | |
const countriesGeoJsonURL = 'https://raw.githubusercontent.com/datasets/geo-countries/master/data/countries.geojson'; |
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": "白石南郷通店", "key": "01004", "address": "北海道札幌市白石区南郷通2丁目南10-15", "latitude": 43.0446098617, "marker_index": 0, "condition_values": [1, 0, 1, 1, 1, 0, 1, 0, 1, 1], "id": 13254292, "longitude": 141.400065559}, {"name": "オーロラタウン店", "key": "01007", "address": "北海道札幌市中央区大通西1丁目地下街オーロラタウン", "latitude": 43.0610008653, "marker_index": 0, "condition_values": [1, 0, 0, 0, 1, 0, 0, 0, 0, 0], "id": 13254295, "longitude": 141.355638957}, {"name": "北5西20店", "key": "01008", "address": "北海道札幌市中央区北五条西20丁目1-1", "latitude": 43.0635659529, "marker_index": 0, "condition_values": [0, 0, 1, 1, 1, 0, 0, 0, 0, 1], "id": 13254296, "longitude": 141.325258838}, {"name": "平岸店", "key": "01011", "address": "北海道札幌市豊平区平岸二条10丁目3-12", "latitude": 43.0306296872, "marker_index": 0, "condition_values": [1, 1, 1, 1, 1, 0, 1, 0, 0, 1], "id": 13254299, "longitude": 141.368123528}, {"name": "南新川店", "key": "01012", "address": "北海道札幌市北区北二十三条西14丁目6-1", "latitude": 43.0876603306, "marker_index": 0, "condition_values": [1, 0, 1, 1, 1, 0, 0, 1, 1, 1] |
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
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>Mable Bookmarklets</title> | |
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /> | |
<link rel="icon" href="https://mable.me/img/mable.ico"> | |
<!-- Bootstrap Core CSS --> | |
<link href="https://mable.me/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder