Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

97
Vistas
P-GMAP -- How to replace a region on my map with a more up-to-date photo of it

I'm trying to replace a region of my map, structured in p-gmap, with a more up-to-date photo of the same region. I would like to know how to do this.

My map in HTML:

<p-gmap
 (onMapClick)="addMark($event)"
 (onOverlayClick)="handleOverlayClick($event)"
 (onOverlayDragEnd)="onOverlayDragEnd($event)"
 [overlays]="overlays"
 [options]="options"
 [style]="{ width: '100%', height: '70vh' }"
></p-gmap>

And I created a class for the image of the region I want to update, it's called OrigemOrtofoto:

export class OrigemOrtofoto
{
    idOrigem: number;
    latInfEsq: number;
    lngInfEsq: number;
    latSupDir: number;
    lngSupDir: number;
    urlImage: string;
}

As noted, it has 4 coordinates, which form a region, and I want to replace this region on the map with the photo that is stored in the class in the urlImage field.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda