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

150
Vistas
I can't show a multipolygon on a map in OpenLayers

I cannot assign polygon property to the area I want on the map in my project that I have created with open layers and angular

My method that I have created my map and then call in ngOnit()

IntilazeMapParsel() {
  this.view = new View({
    center: [3876682.9740679907, 4746346.604388495],
    zoom: 6.5,
    // minZoom:5.8
  });
  console.log("mao")
  this.mapParsel = new Map({
    view:this.view,
    layers: [
      new Tile({
        source: new XYZ({
          url: 'http://mt0.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}',
        }), 
        zIndex: -5444
      }),
    ],
    target: 'ol-map-parsel'
  }); 
}

Here is the code I wrote because I want to show the multypolygon value on my map.

I don't understand why it doesn't appear on the map, I would appreciate it if you could help.

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