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

91
Views
¿Cómo puedo cargar mi Azure Map dentro de un Jumbotron?

Intentando que mi mapa de Azure se muestre dentro de un jumbotron con un poco de relleno en los bordes. Hasta ahora no puedo lograr que permanezca dentro de los límites del Jumbotron con un poco de relleno. ¿Algunas ideas?

Guión en la cabeza:

 <script type="text/javascript"> function InitMap() { var map = new atlas.Map('myMap', { style: 'satellite_road_labels', center: [-122.33, 47.6], zoom: 12, language: 'en-US', authOptions: { authType: 'subscriptionKey', subscriptionKey: 'xxxxxxxxxxxxx' } }); } </script>

Cargas con cuerpo:

 <body onload="InitMap()">

Hoja de estilo dentro de la página:

 <style> .mapContainer { position: relative; width: 100%; min-width: 290px; height: 600px; } #myMap { height: 100vh; width: 100vw; } .jumbotron { padding-top: 30px; padding-bottom: 30px; margin-bottom: 30px; color: inherit; background-color: #eee; } </style>

Mapa dentro de la segunda columna donde está Jumbotron:

 <div class="col-md-6"> <div class="jumbotron"> <div class="container-md"> <div id="myMap"></div></div> </div> </div>
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!