My latest reply doesn't seem to have posted, so I'll write it again.
Sorry if it comes up twice.

You're right about the PHP, that's on the way.

Regarding the marker sizes:
I didn't realize that google's example code...

[google's code, second set here (http://code.google.com/apis/maps/
documentation/overlays.html#Icons_overview) ]
cafeIcon.image = "http://chart.apis.google.com/chart?
chst=d_map_pin_icon&chld=cafe|996600";
cafeIcon.shadow = "http://chart.apis.google.com/chart?
chst=d_map_pin_shadow";
cafeIcon.iconSize = new GSize(12, 20);
cafeIcon.shadowSize = new GSize(22, 20);
cafeIcon.iconAnchor = new GPoint(6, 20);
cafeIcon.infoWindowAnchor = new GPoint(5, 1);
[/google's code]

...was different than the actual example (http://code.google.com/apis/
maps/documentation/examples/icon-complex.html) linked to from that
example code.  Adding to confusion, when I increased the specified
size of the markers, they got all pixelly.  Now that I know you don't
have to specify the size, I removed that from my code and the markers
appear normally.

Thanks,

Charles

On May 9, 6:39 am, Rossko <[email protected]> wrote:
> > > You can see my map here (http://auroralights.org/map_project/gmaps.php?
> > > gmap=marker-test).
>
> > I get a php error
> > Invalid argument supplied for foreach() ....
>
> Ah,  my fault, truncated URL ; your php code fails with no URL
> arguments, you might make it more robust later.
>
> I get a javascript error from MarkerManager because you are loading
> that inline, before you AJAX load the maps API.  You need to load MM
> after the API too.
>
> I'm not sure what you mean about the icon ; a blue Icon is requested
> from the charts API sized at 21x34, which is then shrunk to 12x20 for
> display because that's what you've asked for
>    blackIcon.iconSize = new google.maps.Size(12, 20);
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Maps API" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/google-maps-api?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to