Google Maps API v3 ***Re-Released 17/07/2014*** (Deprecated)
Re: Google Maps API v3 ***Update 13/09/10***
Hi Bacon,
Ok,
Your input & time you have put into solving my problem is really appreciated.
However I have found that your original idea of swapping lat/long parameters did not work in streetview but since you suggested rolling back to Web Builder 7.1.0/Extension Builder 2.5.0 I did not initially swap long/lat.
Yes, yes, yes, I definitely missed that & having made the change everything loads just fine
However (don't you hate it when you hear that) I just loaded the co-ordinates for 9 sites within the same location, therefore the js script
overwrites whatever is in that folder & the last co-ordinates loaded displays for every site.
I now have 9 separate pages all showing the same google map location.
The obvious thing to do is change the 'map id' but if I do that the map does not load.
Is it possible to create different map id's in the same js folder?
I really appreciate the time you have put towards helping me resolve this situation
Ok,
Your input & time you have put into solving my problem is really appreciated.
However I have found that your original idea of swapping lat/long parameters did not work in streetview but since you suggested rolling back to Web Builder 7.1.0/Extension Builder 2.5.0 I did not initially swap long/lat.
Yes, yes, yes, I definitely missed that & having made the change everything loads just fine
However (don't you hate it when you hear that) I just loaded the co-ordinates for 9 sites within the same location, therefore the js script
overwrites whatever is in that folder & the last co-ordinates loaded displays for every site.
I now have 9 separate pages all showing the same google map location.
The obvious thing to do is change the 'map id' but if I do that the map does not load.
Is it possible to create different map id's in the same js folder?
I really appreciate the time you have put towards helping me resolve this situation
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 13/09/10***
Ok a work around till I can impliment this into the extension so that you can use more than one map is this..
1. Add your first map to your page/site save the project page now browse to the folder that contains the js file it will look like this..
<script type="text/javascript" src="js/mapscript.js"></script>
Make a small change and save now open your project again add a new map to were you want again repeat what you have just done for each map so that each js has a unique name example mapscript1.js, mapscript2.js etc etc...this way you will bw able to use ans may maps you wish...When I mreturn I will add this ...
<script type="text/javascript" src="js/mapscript1.js"></script>
Note: Like Pablo I too will be away from the 5th to the 9th Dec...I will try to answer all questions as soon as I can...
1. Add your first map to your page/site save the project page now browse to the folder that contains the js file it will look like this..
<script type="text/javascript" src="js/mapscript.js"></script>
Make a small change and save now open your project again add a new map to were you want again repeat what you have just done for each map so that each js has a unique name example mapscript1.js, mapscript2.js etc etc...this way you will bw able to use ans may maps you wish...When I mreturn I will add this ...
<script type="text/javascript" src="js/mapscript1.js"></script>
Note: Like Pablo I too will be away from the 5th to the 9th Dec...I will try to answer all questions as soon as I can...
Re: Google Maps API v3 ***Update 13/09/10***
Hi Bacon,
you say:
"save the project page now browse to the folder that contains the js file"
Where exactly is this file?
If I save the project it is a wysiwyg file until published.
I can see the published js file, is it this you are telling me to rename?
you say:
"save the project page now browse to the folder that contains the js file"
Where exactly is this file?
If I save the project it is a wysiwyg file until published.
I can see the published js file, is it this you are telling me to rename?
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 13/09/10***
@ JimmyJazz Aploigies for not getting back to you on this....I have not been able to as I have been away fro a few days and wasnt able to use laptop due to restrictions you will finfd the js file in the folder named js if yo rename this you will be able to use another map on page of your site. I will try and add a fix to the extension so that you can do this through the extension and reupload it asap...
Re: Google Maps API v3 ***Update 13/09/10***
Hi Bacon,
I tried re-naming each js file after publishing but the same map shows for all the maps I've published.
No worries about the delay, you already explained you were going away for a few days so totally understandable.
I've just done a soft launch of my site but I have a few issues with other things that need sorting as well, google has not indexed any of the pages yet so I have a bit of breathing space.
Look forward to when you implement the change because it is perfect for my sites needs.
I tried re-naming each js file after publishing but the same map shows for all the maps I've published.
No worries about the delay, you already explained you were going away for a few days so totally understandable.
I've just done a soft launch of my site but I have a few issues with other things that need sorting as well, google has not indexed any of the pages yet so I have a bit of breathing space.
Look forward to when you implement the change because it is perfect for my sites needs.
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 13/09/10***
You just use like the standard map, add your lat and long of location add a icon of your choice to show location when using map you will notice the small google man on map drag him to were you wish on map and streetview will show....
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 13/09/10***
@ JimmyJazz I havnt forgot about thisI am having to look and write a fix for this so that a new css and js files can be used for each map used...it just a bit of a puzzle but I am working on it ...aploigise for now ...
Re: Google Maps API v3 ***Update 13/09/10***
Hi Baconfries,
Thanks for the update, it is appreciated.
I wish I was more knowledgeable & was able to assist in some way
But when you finally solve this issue this extension will be awesome
Thanks for the update, it is appreciated.
I wish I was more knowledgeable & was able to assist in some way
But when you finally solve this issue this extension will be awesome
Re: Google Maps API v3 ***Update 13/09/10***
Hi Bacon Fries,
Any updates on this fix?
Google have started indexing my site now & the first trickle of visitors are arriving.
Is there anyone in the wysiwyg community that could assist you with implementing this fix?
Any updates on this fix?
Google have started indexing my site now & the first trickle of visitors are arriving.
Is there anyone in the wysiwyg community that could assist you with implementing this fix?
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 13/09/10***
Hi sorry for not getting back... been really busy with outside related issues...I have been working on it and the only way to possibly fix this is to include all the code in one page instead of having external files as it is now...the downside of this is it wont validate with W3C that is why I bulit the extension as it is. Till I can right a better solution so that you can use more than one map you may have to revert to the old extension again I have to be away over the next couple of days but will be able to use laptop so will try se what can be done even if I have to just write the extension as I mentioned above ...
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 13/09/10***
This is not possible with the extension, it can only show a set location by entering a latitude and a longitude and on click of a icon/push-pin it will display some information such a address, email etc...what you are requireing is a custom script to do what you need...From the url you provide I can see that you can copy a script that you can insert into WB using the HTML object..
Re: Google Maps API v3 ***Update 13/09/10***
Hi baconfries,
Hope you had a happy christmas & new year.
Are you any closer to updating the extension yet?
Hope you had a happy christmas & new year.
Are you any closer to updating the extension yet?
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 13/09/10***
The same to you.. I had a major PC crash of Xmas and the New Year..please read this url
viewtopic.php?f=42&t=35934
viewtopic.php?f=42&t=35934
Re: Google Maps API v3 ***Update 13/09/10***
Hi Baconfries,
Ouch!!!
Your work that pays the bills has to take priority.
I hope you can recover all your data.
I'll monitor this thread until you get back on track & can update this extension.
Hope everything works out ok.
Ouch!!!
Your work that pays the bills has to take priority.
I hope you can recover all your data.
I'll monitor this thread until you get back on track & can update this extension.
Hope everything works out ok.
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 26/00/1***
***Update 26/01/11***
Re: Google Maps API v3 ***Update 26/01/01***
Hi Bacon fries,
Thanks for the update,
Has this now rectified the problem of having multiple maps on separate pages located in the same folder?
It maybe a day or so until I can implement this update on my website. I will give you feedback once I have tried.
Thanks for the update,
Has this now rectified the problem of having multiple maps on separate pages located in the same folder?
It maybe a day or so until I can implement this update on my website. I will give you feedback once I have tried.
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 26/01/01***
Yes...I have made it that the map uses a iframe to be placed on each page needed, and that you can now name each map like so mylocation.html, location.html, map1.html, map20.html etc etc doing it this way allowed the extension to generate seperate maps as long as each has its own name...let me know how you get on...
Re: Google Maps API v3 ***Update 26/01/01***
Hi BaconFries,
Just tested your update on 2 pages using 'preview in browser' & the good news is both loaded the correct maps
However, the new map expanded the page both horizontally & vertically & placed the map in the bottom right hand corner of the page, I had to scroll across & down to find it!! (could this be because of the iframe????)
I think you are going in the right direction now but it just needs a bit of further tweaking to keep the map where I place it in wysiwyg without expanding the page.
I am trying to create individual maps at a size of 400x300, the majority of these maps will be located on the right hand side of the page directly below the 4 animated gifs (unsure if this info is helpful, but....?)
An example page awaiting for map co-ordinates:
http://www.spy.my/penang/eidelweiss-cafe.html
Again, thanks for efforts to make this work, it will be an awesome extension once perfected.
Just tested your update on 2 pages using 'preview in browser' & the good news is both loaded the correct maps
However, the new map expanded the page both horizontally & vertically & placed the map in the bottom right hand corner of the page, I had to scroll across & down to find it!! (could this be because of the iframe????)
I think you are going in the right direction now but it just needs a bit of further tweaking to keep the map where I place it in wysiwyg without expanding the page.
I am trying to create individual maps at a size of 400x300, the majority of these maps will be located on the right hand side of the page directly below the 4 animated gifs (unsure if this info is helpful, but....?)
An example page awaiting for map co-ordinates:
http://www.spy.my/penang/eidelweiss-cafe.html
Again, thanks for efforts to make this work, it will be an awesome extension once perfected.
Re: Google Maps API v3 ***Update 29/01/01***
Hi Baconfries,
Are you close to rectifying the page expansion problem with the new update?
Are you close to rectifying the page expansion problem with the new update?
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 29/01/01***
Update has been available since 29/01/01 after you posted "Fri Jan 28, 2011 8:06 pm"
Re: Google Maps API v3 ***Update 29/01/01***
Hi Baconfries,
I tried the update & it just expanded the webpage horizontally & vertically.
Are you suggesting I use an iframe on the page that links to another separate page?
I've just read up on iframes & it seems they are used to linking to another page whereas I need the map on each individual review page.
I just tried to install the iframe on the page & place the google map inside it but it did not display.
edit...........
Just looking at iframes............if I place an iframe on the page where do I place the map? Do I have to create a separate page for it?
I've never used iframes before & do not really understand how I am supposed to implement this.
Sorry for my lack of knowledge
I tried the update & it just expanded the webpage horizontally & vertically.
Are you suggesting I use an iframe on the page that links to another separate page?
I've just read up on iframes & it seems they are used to linking to another page whereas I need the map on each individual review page.
I just tried to install the iframe on the page & place the google map inside it but it did not display.
edit...........
Just looking at iframes............if I place an iframe on the page where do I place the map? Do I have to create a separate page for it?
I've never used iframes before & do not really understand how I am supposed to implement this.
Sorry for my lack of knowledge
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 29/01/01***
Ok it is as easy as A, B, C simply add the extension to the page/postion that you want, open the extension properties set to what your require..Latitude, Longitude, Map HTMl etc etc, and since the extension is using a iframe it will call the map into the page you need it on, now when your ready to upload to your server you will have two html files one is the page that you have inserted the extension on this may be index.html and you will also have another html file this will be called (example) googlemap.html, or jimmyjazz1.html or what ever you gave it in Map HTML properties. Just to check that it was working I downloaded the page that you gave the url too, rebuilt it in WB added the extension and it working as it should I have also saved this as a WB project (wbs) and have uploaded for you to try out...I have also include the latest version of the extension....
http://www.mediafire.com/?v7u264ww67f3vhb
http://www.mediafire.com/?v7u264ww67f3vhb
Re: Google Maps API v3 ***Update 29/01/01***
Hi BaconFries,
Fantastic mate, you've nailed it!
Just loaded every map onto the live site & checked each one & they are all displaying their exact co-ordinates
There is one small issue though, when I click on any of the map icons I get this line above the address:
$heading$
I'm sure this is something I have overlooked but I cannot work out what, check it out on the map on the following link:
http://www.spy.my/penang/cheong-fatt-tze-mansion.html
I really appreciate the time you have put into implementing this alteration, but this is now a fantastic extension for anyone that wants to install many different maps on their website.
You've just helped me take one step closer to officially launching this site, but I still got some work to do (not related to maps). When ready I will announce it in the appropriate new site category on this forum & give you a special mention.
Cheers
Fantastic mate, you've nailed it!
Just loaded every map onto the live site & checked each one & they are all displaying their exact co-ordinates
There is one small issue though, when I click on any of the map icons I get this line above the address:
$heading$
I'm sure this is something I have overlooked but I cannot work out what, check it out on the map on the following link:
http://www.spy.my/penang/cheong-fatt-tze-mansion.html
I really appreciate the time you have put into implementing this alteration, but this is now a fantastic extension for anyone that wants to install many different maps on their website.
You've just helped me take one step closer to officially launching this site, but I still got some work to do (not related to maps). When ready I will announce it in the appropriate new site category on this forum & give you a special mention.
Cheers
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 29/01/01***
Opps nope that you have done....it done to me I added the wrong HTML file into the extension I will fix this later and repost
Re: Google Maps API v3 ***Update 09/02/01***
Hi BaconFries,
Have you fixed this small problem yet?
tia......
Have you fixed this small problem yet?
tia......
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 09/02/11***
Yes it has been update since your last post on 29/01/11.. most recent update 09/02/11
Re: Google Maps API v3 ***Update 09/02/01***
Hi BaconFries,
Thanks for that, I just updated all my maps
Thanks for that, I just updated all my maps
Re: Google Maps API v3 ***Update 09/02/01***
Hi BaconFries,
I only loaded the maps today & already in Google webmasters tools they are giving a HTML suggestion about the googlemap pages.
They are saying they are missing Title Tags.
Is the best solution just to exclude these in the robots file?
note:......This is the map only page, not the actual page with all info, images & where the map actually appears.
I only loaded the maps today & already in Google webmasters tools they are giving a HTML suggestion about the googlemap pages.
They are saying they are missing Title Tags.
Is the best solution just to exclude these in the robots file?
note:......This is the map only page, not the actual page with all info, images & where the map actually appears.
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 09/02/01***
I will see what I can do about adding <title></title> and maybe some meta tags into the html..
Re: Google Maps API v3 ***Update 09/02/01***
Ok, sounds good.
As a temporary measure I have just excluded them in the robots file.
As a temporary measure I have just excluded them in the robots file.
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 09/02/01***
This is done through the Google Map Properties see image below
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 09/03/11***
***Updated 09/03/11***
Update to allow title and mrta tags to be added to the google map html also fixed
<div id="map_canvas"></div> height, width...
Update to allow title and mrta tags to be added to the google map html also fixed
<div id="map_canvas"></div> height, width...
Re: Google Maps API v3 ***Update 09/03/11***
Hi Baconfries,
Updated all my maps with no problems, everything got titles & meta now.
Your work is appreciated
Updated all my maps with no problems, everything got titles & meta now.
Your work is appreciated
Re: Google Maps API v3 marker displacement!
Hi BaconFries,
I'm having a displacement of the marker from the right coordinates while zooming out. Here's an example at http://www.mauritius360.com/test/googlemap.html
On full zoom in the marker placement is right on a place in the Bay. On zooming out you can see the marker drifting out of the island.
I'm having a displacement of the marker from the right coordinates while zooming out. Here's an example at http://www.mauritius360.com/test/googlemap.html
On full zoom in the marker placement is right on a place in the Bay. On zooming out you can see the marker drifting out of the island.
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 09/03/11***
I will be looking at the code later today and see what can be done to fix this along with anything else that me wrong.....
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 15/03/11***
*** Updated 15/03/11***
Re: Google Maps API v3 ***Update 15/03/11***
Hi BaconFries,
It's working correctly now. Many thanks for resolving this issue so fast.
By the way, is it possible to insert a hyperlink or image in the dialog box?
It's working correctly now. Many thanks for resolving this issue so fast.
By the way, is it possible to insert a hyperlink or image in the dialog box?
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 15/03/11***
Yes you can... see reference below...I have noticed that using a image adds a scroll bar to the info window I will see what can be done to overcome this...
URL
<a href="http://www.yoursiteaddress.com/" target="_blank" style="text-decoration:none">showme</a><br/>
Email
<a href="mailto:enquiries@youremailaddress.com" style="text-decoration: none">email</a>
Image
<a href="http://www.yoursiteaddress.com/images/y ... .gif"><img src="http://www.yoursiteaddress.com/images/yourimage.gif" border="0"></a></br>
URL
<a href="http://www.yoursiteaddress.com/" target="_blank" style="text-decoration:none">showme</a><br/>
<a href="mailto:enquiries@youremailaddress.com" style="text-decoration: none">email</a>
Image
<a href="http://www.yoursiteaddress.com/images/y ... .gif"><img src="http://www.yoursiteaddress.com/images/yourimage.gif" border="0"></a></br>
Re: Google Maps API v3 ***Update 15/03/11***
Hi BaconFries,
You do a great job!
You do a great job!
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 15/03/11***
Try thisFor example JOES BURGERS will work; JOE'S BURGERS will not.
JOE’S BURGERS
-
-
- Posts: 66
- Joined: Wed Jan 26, 2011 7:51 pm
- Location: Hellas
Re: Google Maps API v3 ***Update 15/03/11***
Hi..
Any idea how to find the right longitude and latitude for a place..?? I download and install Google earth, i got some test long, lat, i put it but didn't worked. Do i need to transform those into special form...???
Any idea how to find the right longitude and latitude for a place..?? I download and install Google earth, i got some test long, lat, i put it but didn't worked. Do i need to transform those into special form...???
infogate
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript">jQuery.noConflict();</script>
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 15/03/11***
Yer try this site from fellow member neo_webbuilder just enter the full address needed example 101, yourstreet/road, yourtown, yourcountry, yourzip/postcode
http://www.backups.nl/geocoder.html
http://www.backups.nl/geocoder.html
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 15/03/11***
No the API key is no longer required
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 15/03/11***
I will try and take a look over the next couple of days and see what can be wrong
Re: Google Maps API v3 ***Update 15/03/11***
BaconFries wrote:Try thisFor example JOES BURGERS will work; JOE'S BURGERS will not.
JOE’S BURGERS
I just spent 4 hours trying to get a new map working & then I come to here & find the answer right in front of me.
Thanks to BaconFries for keeping on top of this fantastic extension
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 15/03/11***
Thanks Jimmy always nice to read compliments form a user of the extension...note I have made a couple of changes to the extension and will be releasing soon...it not a requirement to update to the newer only if you need to show the placement of tye navigation buttons in the map I am still testing and need to update the pdf before I ca release once again thanks for the compliments...
Re: Google Maps API v3 ***Update 15/03/11***
Hi BaconFries,
ok, noted.
ok, noted.
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 24/04/11***
***Updated 24/04/11***
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 24/04/11***
Can you say what is happening? as I have just checked and if I set the streetview to false then the icon doesnt get displayed this is how it is ment to work, and if it is set to true then it will display see images below
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Google Maps API v3 ***Update 24/04/11***
Hi when I first rebuilt this version of the map API V3 it did have a offset in the code, but I had to remove it because it was causing the map icon to be put out of place and not showing the said latittude/longitude position of the location that the user inserted into the extension variables. I will check if I still have a copy of that on Mediafire or backed up and a pendrive If either is the case I will post it temporarily for you to try it out and se it it is what you need...