Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!

Frasun free asked 6 years ago


Witam, Nie działa mi skrypt mapy google, juz po zmianie z moim API:. Macie jakis pomysl?(mapa sie nie wyswietla)
<scriptasyncdefersrc="https://maps.googleapis.com/maps/api/js?key=MÓJ API&callback=initMap"
type="text/javascript"></script>
<!-- Google Maps settings -->
<script>
// Regular map
functionregular_map() {
varvar_location = newgoogle.maps.LatLng(40.725118, -73.997699);
varvar_mapoptions = {
center:var_location,
zoom:14
};
varvar_map = newgoogle.maps.Map(document.getElementById("map-container"),
var_mapoptions);
varvar_marker = newgoogle.maps.Marker({
position:var_location,
map:var_map,
title:"New York"
});
}
// Initialize maps
google.maps.event.addDomListener(window, 'load', regular_map); </script>
<!-- google maps -->
 

Bartłomiej Malanowski staff commented 6 years ago

Hi, Frasun! The spoken language here is English. Could you please use the English language here? This would be easier to understand by our community. Anyway, I'd like to resolve your issue, but we need some info from you. Do you use MDB jQuery or MDB Angular? Do you get any console errors? If so, could you please share your console errors with us? Could you please share more of your code so we could take a look at this?


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.2.2
  • Device: notebook
  • Browser: chrome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: No