Here you can see where I defined MarkerImages and you are more then welcome to use it as an example: http://www.suntransformer.com/peter/GoogleAPI3/test/javascripts/dev/main.js
Give that a try and look through that and see if it helps you any. On Thu, Jun 17, 2010 at 9:26 AM, Martin <[email protected]> wrote: > Obviously I have already tried. I have used a local URL for my image. > But this is not work for me. > > Is there a way? > > > On 17 Giu, 13:28, Rossko <[email protected]> wrote: > > > In Google Maps API (both v2 and v3), can I create a marker with a > > > local (on my pc, no web server) image? > > > > Have you tried it? > > You set a marker image by URI. > > There are plenty of examples under 'custom icon' and similar search > > keywords. > > If you can construct a URI to point at your local image you can try > > it. > > It won't work for anyone else that views your public facing webpage, > > of course, which makes it a bit pointless. > > -- > 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]<google-maps-api%[email protected]> > . > For more options, visit this group at > http://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.
