Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

142
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!