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

73
Vistas
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
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