You're right about needing to handle when the URL lacks arguments. It's in the works.
Regarding the marker sizes: I didn't realize that the code google gave for its example... [google's code, the second example here: http://code.google.com/apis/maps/documentation/overlays.html#Icons_overview] // Create our "cafe" marker icon var cafeIcon = new GIcon(); 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 example linked to from that set of example code (http://code.google.com/apis/maps/documentation/examples/icon- complex.html). A bit misleading. Further lending to confusion, when I increased the specified size of the markers, they just got pixelly. If I don't specify the size at all, they 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.
