Show map of past trips
This commit is contained in:
parent
bd61b1bccd
commit
36b5d38274
4 changed files with 43 additions and 26 deletions
|
|
@ -1,13 +1,13 @@
|
|||
function emoji_icon(emoji) {
|
||||
return L.divIcon({
|
||||
className: 'custom-div-icon',
|
||||
html: "<div style='font-size: 24px;'>🚉</div>",
|
||||
html: "<div style='font-size: 24px;'>" + emoji + "</div>",
|
||||
iconSize: [30, 42],
|
||||
});
|
||||
}
|
||||
|
||||
var stationIcon = emoji_icon("🚉");
|
||||
var airportIcon = emoji_icon("✈️<");
|
||||
var airportIcon = emoji_icon("✈️");
|
||||
|
||||
function build_map(map_id, coordinates, routes) {
|
||||
// Initialize the map
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue