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

207
Views
Aplicación de Css a la ventana de información en el mapa de Google en vuejs

 function initMap() { var mycompany = { lat: 44.348534, lng: -79.669197 }; var map = new google.maps.Map(document.getElementById('map'), { center: mycompany, zoom: 14, scrollwheel: false, mapTypeControl: false }); var contentString = '<div class="iw-content">' + '<div class="iw-subTitle">My company </div>' + '<p>455 street</p>' + '<p>City, World</p>' + '<p>Canada, Postalcode</p>' + '</div>'; var infowindow = new google.maps.InfoWindow({ content: contentString }); var marker = new google.maps.Marker({ position: mycompany, map: map, title: 'My company' }); google.maps.event.addListener(marker, 'click', function() { infowindow.open(map, marker); }); google.maps.event.addListener(map, 'click', function() { infowindow.close(); }); } initMap()
 html, body, #map { height: 100%; width: 100%; margin: 0px; padding: 0px } /*style the box*/ .gm-style .gm-style-iw { background-color: #252525 !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; min-height: 120px !important; padding-top: 10px; display: block !important; } /*style the p tag*/ .gm-style .gm-style-iw #google-popup p{ padding: 10px; } /*style the arrow*/ .gm-style div div div div div div div div { background-color: #252525 !important; padding: 0; margin: 0; padding: 0; top: 0; color: #fff; font-size: 16px; }
 <div id="map"></div>

Aplicando Css a la ventana de información en el mapa de Google en vuejs en HTML, funciona bien, quiero decir en jsfiddle pero cometer vue no estaba funcionando. Necesito aplicar CSS a la información sobre herramientas generada por el mapa de Google. ¿Es posible o no? Probó muchas cosas pero fue no funciona como en la función de clic dentro de CSS y en línea css funciona bien

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!