forked from Ivasoft/geovisio-website
Merge branch 'fix/css-report-button' into 'develop'
fix css report button See merge request geovisio/website!87
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
export function createLink(href: string, text: string): string {
|
||||
return `<a href='mailto:signalement.ign@panoramax.fr${href}' target='_blank' title='${text}' class='gvs-btn gvs-widget-bg gvs-btn-large' style='font-size: 1.6em;border-radius=50%'><i class="bi bi-exclamation-triangle"></i></a>`
|
||||
return `<a href='mailto:signalement.ign@panoramax.fr${href}' target='_blank' title='${text}' class='gvs-btn gvs-widget-bg gvs-btn-large' style='font-size: 1.6em;display: block'><i class="bi bi-exclamation-triangle"></i></a>`
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ let viewer = ref()
|
||||
|
||||
onMounted(async () => {
|
||||
const reportLink = document.createElement('div')
|
||||
reportLink.className = 'gvs-group'
|
||||
reportLink.className = 'gvs-group gvs-group-large gvs-group-btnpanel'
|
||||
const tiles = import.meta.env.VITE_TILES
|
||||
const maxZoom = import.meta.env.VITE_MAX_ZOOM
|
||||
let paramsGeovisio: ViewerMapInterface = {
|
||||
|
||||
@@ -287,7 +287,7 @@ onMounted(async () => {
|
||||
}
|
||||
}
|
||||
const reportLink = document.createElement('div')
|
||||
reportLink.className = 'gvs-group'
|
||||
reportLink.className = 'gvs-group gvs-group-large gvs-group-btnpanel'
|
||||
viewer.value = await new GeoVisio(
|
||||
'viewer', // Div ID
|
||||
`${import.meta.env.VITE_API_URL}/api/search`,
|
||||
|
||||
Reference in New Issue
Block a user