Class: MapMarkerWithGeolocationOqt

.Components.Maps.MapMarkerWithGeolocationOqt(namenon-null, latnullable, lngnullable, textnullable, readonlyopt, use_changeopt, iconnullable, debugopt) → {MapMarkerWithGeolocationOqtResult}

new MapMarkerWithGeolocationOqt(namenon-null, latnullable, lngnullable, textnullable, readonlyopt, use_changeopt, iconnullable, debugopt) → {MapMarkerWithGeolocationOqtResult}

Componente que renderiza una marca dentro de un mapa

Parameters:
Name Type Attributes Default Description
name string

Nombre del input

lat string <nullable>

Valor de latitud cuando no se obtienen los permisos para obtener la ubicación del dispositivo

lng string <nullable>

Valor de longitud cuando no se obtienen los permisos para obtener la ubicación del dispositivo

text string <nullable>

Un texto que aparece en un popup

readonly "true" | "false" <optional>
"true"

En el caso de no tener permisos para obtener la ubicación, determina si el usuario puede mover la marca libremente

use_change "true" | "false" <optional>
"true"

Si es true, al modificarse su valor desencadena el evento change del form que lo contiene

icon string <nullable>

Source o path de un archivo svg para reemplazar el icono por defecto

debug "true" | "false" <optional>
"false"

Determina si se hará una salida de consola con datos de depuración

Source:
Returns:
Type
MapMarkerWithGeolocationOqtResult
Example
<map_geolocation debug="true">
  <map_marker_geolocation debug="true" lat="-35.10" lng="-63.89" name="mapa1" text="marca1" icon='<svg stroke-width="0" viewBox="0 0 24 24" height="60px" width="60px" xmlns="http://www.w3.org/2000/svg"><path fill="none" d="M0 0h24v24H0V0z"></path><path d="M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm8.94 3A8.994 8.994 0 0013 3.06V1h-2v2.06A8.994 8.994 0 003.06 11H1v2h2.06A8.994 8.994 0 0011 20.94V23h2v-2.06A8.994 8.994 0 0020.94 13H23v-2h-2.06zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"></path></svg>'>
  </map_marker_geolocation>
</map_geolocation>
<map_marker_geo name="seguimiento" lat="38.2111" lng="54.0121" text="aca estas vos" readonly="true" use_change="true"></map_marker_geo>