Zaloguj | Zarejestruj | FAQ

Google maps issues

+ Odpowiedz

Posty: 2 Strona 1 z 1

Google maps issues

przez dodo213141 » Pt lis 07, 2014 12:06 am

Hello to everyone,

I'm Edoardo, I'm new of this forum and I'm learning html,css,js... I'm at the beginning! I download this pre-configured theme and I'm trying to work on it! I figure out a problem when I try to make, in the contact page, three google maps location with a different geolocalisation. As if I had three different places to set up.
As u can see in the attached file is just running the first geolocalisation the others two are not working and, furthermore, they are not properly centered.

How can I solve it? I really spent a lot of time in it and a lot of efforts... But I cannot understand where is the mistake, and I think thats quite a silly issue!
I attached the file.

Please can someone help me? Thankssssss in advance


  1. Google maps (107.27 KiB) Pobrane 2235 razy

Avatar użytkownika


  • Posty: 1
  • Dołączył(a): Cz lis 06, 2014 11:35 pm

Re: Google maps issues

przez XainPro » Cz lis 27, 2014 11:05 am

you zip archive is corrupt.

but you can add as much maps you want on your page just add them as frames or like this

<div id="map_canvas" style="width:700px; height:500px; margin-left:80px;" ></div>
<div id="map_canvas2" style="width:700px; height:500px; margin-left:80px;" ></div>

Javascript for map initialization

<script type="text/javascript">
var map,map2;

function initialize(condition) {
// create the map

var myOptions = {
zoom: 14,
center: new google.maps.LatLng(0.0, 0.0),
mapTypeId: google.maps.MapTypeId.ROADMAP
map = new google.maps.Map(document.getElementById("map_canvas"),

map2 = new google.maps.Map(document.getElementById("map_canvas2"),

Avatar użytkownika


  • Posty: 3933
  • Dołączył(a): Pt lut 17, 2012 8:10 pm

+ Odpowiedz

Strona 1 z 1