Skip to content

Instantly share code, notes, and snippets.

@pandanote-info
Created September 8, 2020 22:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pandanote-info/8128e4c2925b2e31342ac3f3526008b0 to your computer and use it in GitHub Desktop.
Save pandanote-info/8128e4c2925b2e31342ac3f3526008b0 to your computer and use it in GitHub Desktop.
Leafletに挿すmarkerの情報を保持するためのテーブルをデータベースに作成するためのSQL文。
-- See https://pandanote.info/?p=6619 for details.
drop table if exists leaflet_markers;
create table leaflet_markers (
id int(11) not null auto_increment,
lat float not null,
lon float not null,
popup varchar(4096) not null,
primary key(id)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment