view shuzai/sawaguchi/mesi.js @ 3905:77c97937f2c3

sawaguchi plus
author Madoka Yamaguchi <c117208@e.koeki-u.ac.jp>
date Fri, 02 Aug 2019 13:46:39 +0900
parents
children
line wrap: on
line source

/* domon.js - 北緯38.891度, 東経139.824度, ズームレベル14 で地図表示 */

var map = L.map("map").setView([38.920910,139.842267], 16);
L.tileLayer('//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
 attribution:
   '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
}).addTo(map);

var qIcon = L.icon({
    iconUrl: 'sakana2.png',
    iconSize: [80,80],
})

var marker1 = [38.920910,139.842267];
var m1opt = {title: "さわぐち"};
var sawaguti = L.marker(marker1, {icon: qIcon}).addTo(map);

sawaguti.bindPopup("ぜひ食べに来てね!!!!");

yatex.org