You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Marcadores-Marker Google Maps Javascript Arrays + InfoWindows
Markers are the way to pinpoint locations on the map and can be created either through "clicks" or by specifying a latitude and longitude. In this program, the map points are generated by iterating over an array. As the array is traversed, points of interest are created. Simultaneously, while we create the markers, we also generate InfoWindows, which are pop-up windows associated with specific markers and are displayed when clicked. InfoWindows provide additional information that you should declare in your JavaScript code.
Los marcadores son la forma de identificar ubicaciones en el mapa, se pueden hacer mediante "clicks" o mediante una latitud y longitud. En este programa, los puntos en el mapa son mediante la iteración de un array, a medida que se itera sobre el array se van creando los puntos de interés. Al mismo tiempo que creamos los marcadores, creamos los InfoWindows, que son ventanas emergentes asociadas a algún marcador y se muestran al hacer clic sobre ellos. Los InfoWindows son información adicional que debes declarar en tu código JavaScript.