On Dec 9, 4:32 am, jtl4 <[email protected]> wrote:
> Hello
> I have a map in V2 but decided it is time to move to V3.
> Rather than try to unpick all the code, my map is similar to this 
> one:http://www.geocodezip.com/v3_MW_example_categories.html
> so I am using this template as a starting point.
>
> My problem is that I am displaying custom markers, but each a
> different size.  So how can I set the google.maps.Size() bit so that
> the marker for each category (theatre/golf/info in the example above)
> displays at the correct size for the equivalent marker?  I don't want
> to re-draw my markers if I can help it.  Any advice is much
> appreciated!  Thanks

There is nothing to prevent you from putting fully custom icons into
the associative array.  Since all the ones I use happen to be the same
shape, I just change the image reference before storing it.

You just need to change the function getMarkerImage function to create
_your_ icons and store them in the array.

  -- Larry

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to