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

71
Views
Open responsive popup by GET on layers load

I have a map with geoJSON populated cells. Every cell have different popup data, coming from API. I want to pass id parameter in the URL and then the map to open that specific popup. I'm using angular directivce and Responsive popup as exstensions. I tried using the .openPopup() and togglePopup functions but the popup does not open and no erros in the console. (opening the popup on marker). Also tried to open popup on feature, but it seems impossible. The last version with markers is this one: Markers are being initialized:

var markers = new L.FeatureGroup();
            var marker = L.marker([402.33, -639])
            marker.addTo(markers)

Then

var openedPopup = L.responsivePopup({className: 'buyPopup', autoClose: false}).setContent(stringHere);
marker.bindPopup(openedPopup);
marker.togglePopup(); //marker.openPopup();

I dont mind doing it with features and not marker.

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!