|
@@ -260,7 +260,7 @@ export default {
|
|
|
const options = { id: 1 }
|
|
|
const icon = 'project-12'
|
|
|
const tip = '盲板抽堵作业'
|
|
|
- const iconSize = [27, 33]
|
|
|
+ const iconSize = [40.5, 49.5]
|
|
|
function drawMark(option = { tip, icon, options, coordinates }) {
|
|
|
const myIcon = L.icon({
|
|
|
iconUrl: require(`./images/layers/${option.options.typeId}.png`),
|
|
@@ -319,7 +319,7 @@ export default {
|
|
|
const layer = e.workingLayer
|
|
|
var icon = L.icon({
|
|
|
iconUrl,
|
|
|
- iconSize: [27, 33]
|
|
|
+ iconSize: [40.5, 49.5]
|
|
|
})
|
|
|
layer.setIcon(icon)
|
|
|
}
|