Longdo Map Snippet API (ดูรายละเอียดเพิ่มเติม)

Show POI (1)

<img src="http://mmmap15.longdo.com/mmmap/snippet/?map=epsg3857&locale=th&height=300&width=500&ooi=A10000001">

Show POI (2)

<img src="http://mmmap15.longdo.com/mmmap/snippet/?map=epsg3857&locale=th&height=300&width=500&ooi=A10000001&pinmark">

Show POI (3)

<img src="http://mmmap15.longdo.com/mmmap/snippet/?map=epsg3857&locale=th&height=300&width=500&ooi=A10000001&crossmark">

Show POI (4)

<img src="http://mmmap15.longdo.com/mmmap/snippet/?map=epsg3857&locale=th&height=300&width=500&ooi=G00000193">

Show POI (5)

<img src="http://mmmap15.longdo.com/mmmap/snippet/?map=epsg3857&locale=th&height=300&width=500&ooi=G00000107">

Traffic Map

<img src="http://mmmap15.longdo.com/mmmap/snippet/?map=epsg3857&locale=th&height=300&width=500&zoom=15&mode=gray%2Boverlay&lat=13.729817638162533&long=100.53859232456692&refresh=1">

Set position & Calculate appropriate zoom

<img src="http://mmmap15.longdo.com/mmmap/snippet/?map=epsg3857&locale=th&height=300&width=500&marker=position:14.5,100.2|13.2,100|13.5,100.2;hidden:true">

Default & custom markers

<img src="http://mmmap15.longdo.com/mmmap/snippet/?map=epsg3857&locale=th&height=300&width=500&marker=position:14.5,100.2|13.2,100;icon:http://mmmap15.longdo.com/mmmap/images/icons_big/bank.png&marker=position:13.5,100.2">

Draw lines

<img src="http://mmmap15.longdo.com/mmmap/snippet/?map=epsg3857&locale=th&height=300&width=500&line=position:13,100|13.8,100.2|14.5,100.4;linecolor:red;linewidth:5&line=position:13.6,100.4|13.84,100.24|14.45,100.74;linecolor:FF83CD">

Draw line and markers

<img src="http://mmmap15.longdo.com/mmmap/snippet/?map=epsg3857&locale=th&height=300&width=500&line=position:13.6,100.4|13.84,100.24|14.45,100.74;linecolor:FF83CD;linewidth:7&marker=position:13.6,100.4|13.84,100.24|14.45,100.74;offsetX:center;offsetY:bottom">

Draw polygon and markers

<img src="http://mmmap15.longdo.com/mmmap/snippet/?map=epsg3857&locale=th&height=300&width=500&polygon=position:13.6,100.4|13.84,100.24|14.45,100.74;linecolor:FF83CD;linewidth:7;fillcolor:lightblue&marker=position:13.6,100.4|13.84,100.24|14.45,100.74;offsetX:center;offsetY:bottom">

Draw polygon and markers (set markers' offset)

<img src="http://mmmap15.longdo.com/mmmap/snippet/?map=epsg3857&locale=th&height=300&width=500&polygon=position:13.6,100.4|13.84,100.24|14.45,100.74;linecolor:FF83CD;linewidth:7;fillcolor:lightblue&marker=icon:http://mmmap15.longdo.com/mmmap/images/pin.png;position:13.6,100.4|13.84,100.24|14.45,100.74;offsetX:left;offsetY:5">

Texts

<img src="http://mmmap15.longdo.com/mmmap/snippet/?map=epsg3857&locale=th&height=300&width=500&mode=gray&text=position:13.6,100.4|13.84,100.24|14.45,100.74;msg:134;color:red&text=position:13.5,100.24;msg:Hello world;color:red">

Markers and texts (set texts' offset, color, background color, and border color)

<img src="http://mmmap15.longdo.com/mmmap/snippet/?map=epsg3857&locale=th&height=300&width=500&text=position:13.6,100.4|13.84,100.24|13.84,100.24;msg:134;offsetX:left;offsetY:top;bordercolor:black;bgcolor:yellow;color:red;border:1&text=position:14.45,100.74;msg:33;bordercolor:black;bgcolor:white;color:red;offsetX:left;offsetY:top&marker=position:13.6,100.4|13.84,100.24|14.45,100.74;offsetY:bottom">

Get route, texts and default markers

<img src="http://mmmap15.longdo.com/mmmap/snippet/?map=epsg3857&locale=th&height=300&width=500&key=7a19bf7e66f74a0b39843f76eaf11371&route=path:18.15107,97.94312->16.72039,98.5968->16.75195,100.2887|16.86763,101.33789->16.38339,101.12366;linecolor:[road:red|other:black];linewidth:[road:5];mode:t;type:31&marker=position:18.15107,97.94312|16.72039,98.5968|16.75195,100.2887|16.86763,101.33789|16.38339,101.12366;offsetX:center;offsetY:bottom&text=position:18.15107,97.94312|16.86763,101.33789;msg:From here;bgcolor:white;bordercolor:red;offsetY:top;offsetX:left&text=position:16.72039,98.5968|16.38339,101.12366;msg:to here;bgcolor:white;bordercolor:red;offsetY:top&text=position:16.75195,100.2887;msg:to here (2);bgcolor:white;bordercolor:red;offsetY:top">

Get route and custom markers (1)

<img src="http://mmmap15.longdo.com/mmmap/snippet/?map=epsg3857&locale=th&height=300&width=500&key=7a19bf7e66f74a0b39843f76eaf11371&route=path:18.15107,97.94312->16.72039,98.5968->16.75195,100.2887|16.86763,101.33789->16.38339,101.12366;linecolor:[road:red|other:black];linewidth:[road:5];mode:t;type:31&marker=icon:http://mmmap15.longdo.com/mmroute/image/dest0.png;position:18.15107,97.94312|16.86763,101.33789;offsetX:left;offsetY:bottom&marker=icon:http://mmmap15.longdo.com/mmroute/image/dest1.png;position:16.72039,98.5968|16.38339,101.12366;offsetX:left;offsetY:bottom&marker=icon:http://mmmap15.longdo.com/mmroute/image/dest2.png;position:16.75195,100.2887;offsetX:left;offsetY:bottom">

Get route and custom markers (2)

<img src="http://mmmap15.longdo.com/mmmap/snippet/?map=epsg3857&locale=th&height=300&width=500&key=7a19bf7e66f74a0b39843f76eaf11371&route=path:13.73272,100.5661->9.77132,100.02365;linecolor:[road:purple|ferry:pink|air:FF83CD|tollroad:red|rail:brown];linewidth:[road:3|tollroad:3|other:5];mode:t;type:31&marker=icon:http://www.tourismthailand.org/upload_img/MapPin/s/mvs0.png;position:13.73272,100.5661;offsetX:center;offsetY:bottom&marker=icon:http://www.tourismthailand.org/upload_img/MapPin/s/mvs1.png;position:9.77132,100.02365;offsetX:center;offsetY:bottom">