Google Maps API v3 ***Re-Released 17/07/2014*** (Deprecated)

In this section you can share self-made extensions with other users of WYSIWYG Web Builder.
There is a dedicated section for commercial extensions.
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 13/09/10***

Post by BaconFries »

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..
User avatar
JimmyJazz
 
 
Posts: 72
Joined: Mon Jun 28, 2010 6:11 pm
Location: Penang, Malaysia
Contact:

Re: Google Maps API v3 ***Update 13/09/10***

Post by JimmyJazz »

Hi baconfries,

Hope you had a happy christmas & new year.

Are you any closer to updating the extension yet?
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 13/09/10***

Post by BaconFries »

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
User avatar
JimmyJazz
 
 
Posts: 72
Joined: Mon Jun 28, 2010 6:11 pm
Location: Penang, Malaysia
Contact:

Re: Google Maps API v3 ***Update 13/09/10***

Post by JimmyJazz »

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.
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 26/00/1***

Post by BaconFries »

***Update 26/01/11***
User avatar
JimmyJazz
 
 
Posts: 72
Joined: Mon Jun 28, 2010 6:11 pm
Location: Penang, Malaysia
Contact:

Re: Google Maps API v3 ***Update 26/01/01***

Post by JimmyJazz »

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.
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 26/01/01***

Post by BaconFries »

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...
User avatar
JimmyJazz
 
 
Posts: 72
Joined: Mon Jun 28, 2010 6:11 pm
Location: Penang, Malaysia
Contact:

Re: Google Maps API v3 ***Update 26/01/01***

Post by JimmyJazz »

Hi BaconFries,

Just tested your update on 2 pages using 'preview in browser' & the good news is both loaded the correct maps :D

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.
User avatar
JimmyJazz
 
 
Posts: 72
Joined: Mon Jun 28, 2010 6:11 pm
Location: Penang, Malaysia
Contact:

Re: Google Maps API v3 ***Update 29/01/01***

Post by JimmyJazz »

Hi Baconfries,

Are you close to rectifying the page expansion problem with the new update?
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 29/01/01***

Post by BaconFries »

Update has been available since 29/01/01 after you posted "Fri Jan 28, 2011 8:06 pm"
User avatar
JimmyJazz
 
 
Posts: 72
Joined: Mon Jun 28, 2010 6:11 pm
Location: Penang, Malaysia
Contact:

Re: Google Maps API v3 ***Update 29/01/01***

Post by JimmyJazz »

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 :oops:
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 29/01/01***

Post by BaconFries »

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
User avatar
JimmyJazz
 
 
Posts: 72
Joined: Mon Jun 28, 2010 6:11 pm
Location: Penang, Malaysia
Contact:

Re: Google Maps API v3 ***Update 29/01/01***

Post by JimmyJazz »

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 :D

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 :)
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 29/01/01***

Post by BaconFries »

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
User avatar
JimmyJazz
 
 
Posts: 72
Joined: Mon Jun 28, 2010 6:11 pm
Location: Penang, Malaysia
Contact:

Re: Google Maps API v3 ***Update 09/02/01***

Post by JimmyJazz »

Hi BaconFries,

Have you fixed this small problem yet?

tia......
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 09/02/11***

Post by BaconFries »

Yes it has been update since your last post on 29/01/11.. most recent update 09/02/11
User avatar
JimmyJazz
 
 
Posts: 72
Joined: Mon Jun 28, 2010 6:11 pm
Location: Penang, Malaysia
Contact:

Re: Google Maps API v3 ***Update 09/02/01***

Post by JimmyJazz »

Hi BaconFries,

Thanks for that, I just updated all my maps :D
User avatar
JimmyJazz
 
 
Posts: 72
Joined: Mon Jun 28, 2010 6:11 pm
Location: Penang, Malaysia
Contact:

Re: Google Maps API v3 ***Update 09/02/01***

Post by JimmyJazz »

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.
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 09/02/01***

Post by BaconFries »

I will see what I can do about adding <title></title> and maybe some meta tags into the html..
User avatar
JimmyJazz
 
 
Posts: 72
Joined: Mon Jun 28, 2010 6:11 pm
Location: Penang, Malaysia
Contact:

Re: Google Maps API v3 ***Update 09/02/01***

Post by JimmyJazz »

Ok, sounds good.

As a temporary measure I have just excluded them in the robots file.
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 09/02/01***

Post by BaconFries »

This is done through the Google Map Properties see image below
maphw.gif
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 09/03/11***

Post by BaconFries »

***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...
User avatar
JimmyJazz
 
 
Posts: 72
Joined: Mon Jun 28, 2010 6:11 pm
Location: Penang, Malaysia
Contact:

Re: Google Maps API v3 ***Update 09/03/11***

Post by JimmyJazz »

Hi Baconfries,

Updated all my maps with no problems, everything got titles & meta now.

Your work is appreciated :D
User avatar
Islander
 
 
Posts: 54
Joined: Tue Jan 12, 2010 4:03 pm
Location: Mauritius
Contact:

Re: Google Maps API v3 marker displacement!

Post by Islander »

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.
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 09/03/11***

Post by BaconFries »

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.....
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 15/03/11***

Post by BaconFries »

*** Updated 15/03/11***
User avatar
Islander
 
 
Posts: 54
Joined: Tue Jan 12, 2010 4:03 pm
Location: Mauritius
Contact:

Re: Google Maps API v3 ***Update 15/03/11***

Post by Islander »

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?
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 15/03/11***

Post by BaconFries »

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>
User avatar
Islander
 
 
Posts: 54
Joined: Tue Jan 12, 2010 4:03 pm
Location: Mauritius
Contact:

Re: Google Maps API v3 ***Update 15/03/11***

Post by Islander »

Hi BaconFries,

You do a great job!
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 15/03/11***

Post by BaconFries »

For example JOES BURGERS will work; JOE'S BURGERS will not.
Try this
JOE&rsquo;S BURGERS
smartmedia
 
 
Posts: 66
Joined: Wed Jan 26, 2011 7:51 pm
Location: Hellas

Re: Google Maps API v3 ***Update 15/03/11***

Post by smartmedia »

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...???
infogate
<script type="text/javascript">jQuery.noConflict();</script>
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 15/03/11***

Post by BaconFries »

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
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 15/03/11***

Post by BaconFries »

No the API key is no longer required
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 15/03/11***

Post by BaconFries »

I will try and take a look over the next couple of days and see what can be wrong
User avatar
JimmyJazz
 
 
Posts: 72
Joined: Mon Jun 28, 2010 6:11 pm
Location: Penang, Malaysia
Contact:

Re: Google Maps API v3 ***Update 15/03/11***

Post by JimmyJazz »

BaconFries wrote:
For example JOES BURGERS will work; JOE'S BURGERS will not.
Try this
JOE&rsquo;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 :D
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 15/03/11***

Post by BaconFries »

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... :D
User avatar
JimmyJazz
 
 
Posts: 72
Joined: Mon Jun 28, 2010 6:11 pm
Location: Penang, Malaysia
Contact:

Re: Google Maps API v3 ***Update 15/03/11***

Post by JimmyJazz »

Hi BaconFries,

ok, noted.
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 24/04/11***

Post by BaconFries »

***Updated 24/04/11***
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 24/04/11***

Post by BaconFries »

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
true.gif
false.gif
topc.gif
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 24/04/11***

Post by BaconFries »

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...
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 24/04/11***

Post by BaconFries »

No problem I was working on this map from DD but due to a Hard drive crash I lost all files take a look here
http://www.dynamicdrive.com/dynamicinde ... lector.htm
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 24/04/11***

Post by BaconFries »

Hmmm are you using the latest version of the extension?? there shouldnt be any issues using that latest...
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 24/04/11***

Post by BaconFries »

Looks like you have not set the width,height for the shadow see image below this should fix it for you
mapshadow.gif
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 24/04/11***

Post by BaconFries »

:) Great that you got it fixed ...wasnt there a selection of icons in the zip file with the extension when you downloaded... :?:
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 24/04/11***

Post by BaconFries »

Ok I will post a link later for you to grab a selection of map icons that you can use on the map...:)
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 07/06/11***

Post by BaconFries »

***Update 07/06/11***
Link added for Google map markers added please see first posting
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 07/06/11***

Post by BaconFries »

This is because IE9 is using hardware-accelerated text using sub-pixel Microsoft ClearType font positioning. This will make the font you used look different in display compared to older versions of IE you can trying
Page properties>Misc>Compatibilty>Emulate IE this should force it to look how it should. You can also read more on hardware-accelerated text below..
http://msdn.microsoft.com/en-us/library ... s.85).aspx
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 07/06/11***

Post by BaconFries »

I take a look and see why this maybe happening looking at my extension it could be due to the wrong doctype getting outputted...this is only something I can fix...I will also add compatibilty mode to the extension as well to allow emulation for older browsers...
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 07/06/11***

Post by BaconFries »

Ok to over come this we need to do add this &rsquo;in place of the '
For example:
Mrs. Lewis ' s car is nice.
becomes below but will render/display correctly when published/previewed
Mrs. Lewis&rsquo;s car is nice.
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google Maps API v3 ***Update 07/06/11***

Post by BaconFries »

Is it possible to have the balloon tip show when the map loads instead of having to click on the marker..
Sorry the map only uses a onclick event to dispaly the ballon.

Cant reall say it could just be a small lag in time for it to be brought into your page and when you refresh it gets called fater because it is already in your browsers cache.
The extension alread has this feature installed if you notice the small man icon in the map if the users drags this on top of the pin icon it will give a streetview..
Locked