PDA

View Full Version : Missing Placemarker


ateker373003
03-26-2010, 10:46 AM
Hi,

I have recently run into an issue where the he placemarker will no longer show up. Instead all I see is a gray box. Here is the link: http://www.drbreault.com/contact.html

Is there a fix for this?

Thanks

Ray Borduin
03-26-2010, 11:10 AM
The problem is that you are using an older version of Google maps which used images we used to host, but have taken down.

The solution is to either download and use the more recent version, which should fix this problem, or to manually update your google maps .js file.

It has:

icon.image = 'http://google.webassist.com/google/markers/traditionalpillow/poppy.png';
icon.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.png';
icon.iconSize = new GSize(34,35);
icon.shadowSize = new GSize(34,35);
icon.iconAnchor = new GPoint(9,23);
icon.infoWindowAnchor = new GPoint(19,0);
icon.printImage = 'http://google.webassist.com/google/markers/traditionalpillow/poppy.gif';
icon.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/poppy_mozprint.png';
icon.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
icon.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/poppy_transparent.png';


You would have to update those paths to the paths to the images you want to use.

ateker373003
03-26-2010, 11:48 AM
I think the most recent version of the Dreamweaver Google Tools removed the maps functionality (I have vesion 2.0.2). Does this mean I have to Purchase Google Pro Maps?

Thanks.

Ray Borduin
03-26-2010, 11:50 AM
Yes, or just update the image paths manually.

ateker373003
03-30-2010, 11:36 AM
So do I change the path to 'http://google.com/google/markers/...... or is there a place that I can download the icons?

Thanks in Advance

ateker373003
03-30-2010, 08:48 PM
I've created a new folder on the server with Icons and updated the paths but I still can't seem to get this to work properly. The previous maps I used for other websites seem to still be working though.

Ray Borduin
03-31-2010, 12:26 PM
Do you have a sample url where I can view it? I might be able to spot the problem(s).

ateker373003
04-02-2010, 06:47 PM
Here it is http://www.drbreault.com/contact.html

icon.image = 'http://www.drbreault.com/google_markers/traditionalpillow/pacifica.png';
icon.shadow = 'http://www.drbreault.com/google_markers/traditionalpillow/shadow.png';
icon.iconSize = new GSize(34,35);
icon.shadowSize = new GSize(34,35);
icon.iconAnchor = new GPoint(9,23);
icon.infoWindowAnchor = new GPoint(19,0);
icon.printImage = 'http://www.drbreault.com/google_markers/traditionalpillow/pacifica.gif';
icon.mozPrintImage = 'http://www.drbreault.com/google_markers/traditionalpillow/pacifica_mozprint.png';
icon.printShadow = 'http://www.drbreault.com/google_markers/traditionalpillow/shadow.gif';
icon.transparent = 'http://www.drbreault.com/google_markers/traditionalpillow/pacifica_transparent.png';

Ray Borduin
04-05-2010, 08:03 AM
Those images don't exist:

http://www.drbreault.com/public/google_markers/traditionalpillow/pacifica.png

will bring up a 404 error. make sure the images exist in the location you are pointing to.

ateker373003
04-06-2010, 07:05 PM
I've updated the paths but I still can't get the icons to show up on the map. Here is the correct link:

http://www.drbreault.com/google_markers/traditionalpillow/pacifica.gif

Thanks

Ray Borduin
04-13-2010, 09:29 AM
Sorry it appears the problem all along is a conflicting style declaration from:

andre.css

I'm not sure exactly what style, probably an img style for all img tags or something that you have set in that css file is affecting the map. When I remove that style sheet I can see the map shows correctly.