Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

98
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda