On Oct 6, 8:42 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > is it now " GEvent.trigger(marker, "click"); " But is there anyway to > remove this so it juts loads that marker when you load the page ? I > don't wont to have to click on the marker or the page for that info to > start .
There is a syntax error on your page: http://computerfreek.com/n810/map2.html > > Unless you told me how to do that but maybe i don't understand i been > searching the API's but i just can't seem to find what i need to take > out or replace .. or add !! You can't trigger the click on the marker until after you have added it and its "click" listener to the map. -- Larry > > thanks > craig > > On Oct 6, 11:32 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > > > On Oct 6, 8:24 am, "[EMAIL PROTECTED]" > > > <[EMAIL PROTECTED]> wrote: > > > When you click on the marker you will see it loads the ID: > > > Heading: > > > MPH: > > > GPS Latitude: > > > GPS Longitude: > > > Last update: > > > > below the map !! > > > > I like to make it so you do not have to click it just loads them > > > feilds .. when the map loads ! > > > > but i can't see to just remove the " click " > > > > Thanks craig > > > also retry the page maybe it did not have my gpc info > > > > when you clicked on it ...http://computerfreek.com/n810/map2.html > > > I didn't notice that that happened... > > If you always have only one marker and it is called "marker" (and > > marker is global...) you can do: > > GEvent.trigger(marker, "click"); > > after it (and its click listener) has been defined. > > > -- Larry > > > > Thanks Craig > > > > On Oct 6, 11:01 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > > > wrote: > > > > > On Oct 6, 7:51 am, "[EMAIL PROTECTED]"<[EMAIL PROTECTED]> wrote: > > > > > Ok i got it for the most part useing gpsgate as the server and some > > > > > code that is out there . but can someone tell me how i can have the > > > > > marker on this web page auto select ? so i do not need to click on it > > > > > or even click on the map for the info boxs down below loads ? I just > > > > > like to open the page and have it go right to the befault marker / > > > > > user > > > > > >http://computerfreek.com/n810/map2.html > > > > > What do you mean by "auto select"? Nothing happens when I click on > > > > the marker or anywhere else that seems like it might do something > > > > (IE6). > > > > > -- Larry- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
