lamy added

This commit is contained in:
ed barz 2022-05-19 13:34:01 +02:00
parent b3d03464cd
commit 841e1e12bf
4 changed files with 13 additions and 0 deletions

BIN
proj/map/asset/img/lamy.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -68,6 +68,9 @@ var jdb = {
lamy : { lamy : {
id: "lamy", id: "lamy",
isActive: false, isActive: false,
xy: [-18.27,56.91]
dirxy: [-21.66,52.47],
dirzl: 5,
type: "item", type: "item",
name: "Parking Lamy" name: "Parking Lamy"
} }

View File

@ -50,6 +50,13 @@ var markRestoIcon = L.icon({
popupAnchor: [0, -38], popupAnchor: [0, -38],
}); });
var markParkingIcon = L.icon({
iconUrl: 'asset/markers/parking-32x27.png',
iconSize: [27, 32],
iconAnchor: [13.5, 32],
popupAnchor: [0, -38],
});
var marker = L.marker(hotelxy, { var marker = L.marker(hotelxy, {
icon: markPointerIcon, icon: markPointerIcon,
@ -64,6 +71,9 @@ marker.on('click', function(e) {
console.log("looping resto from map.js") console.log("looping resto from map.js")
var layzl3 = L.layerGroup()
var layzl3 = L.layerGroup()
var layzl3 = L.layerGroup()
var layResto = L.layerGroup() var layResto = L.layerGroup()
let resto = jdb.data.db.resto.sub let resto = jdb.data.db.resto.sub

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB