我想从我的 img 文件夹中放置一个自定义密码,并从谷歌地图中更改默认密码
{!! App\Helpers\MapEngine::scripts() !!}
<script>
jQuery(function ($) {
@if($row->map_lat && $row->map_lng)
new travlocalsMapEngine('map_content', {
disableScripts: true,
fitBounds: true,
center: [{{$row->map_lat}}, {{$row->map_lng}}],
zoom:{{$row->map_zoom ?? "8"}},
ready: function (engineMap) {
engineMap.addMarker([{{$row->map_lat}}, {{$row->map_lng}}], {
icon_options: {}
});
}
});
@endif
})
</script>
谢谢您的支持。