On Nov 24, 9:25 am, ossi69 <[EMAIL PROTECTED]> wrote: > Hi > > My first post ;) > > I installed sample from > "Pamela"http://code.google.com/support/bin/answer.py?answer=65622 > > I got it working somewhat, but few problems... (I searched groups and > looked tutorials and no help) > > Can't use DOM functions so I used the alternate on the page.
What does this mean? > > map.setCenter(new GLatLng(47.614495, -122.341861), 13); > Above line is obviously hard coded, so it always fail(Or displays > wrong area), when I am trying to display single address from New York > area. If I zoom out and find New York marker is there. > > How do I get this to center on single marker. > > I tried > GDownloadUrl... > ...map.addOverlay(marker); > // line below is extra so it centers current 1 set of coordinates > map.setCenter(point); > > This works, but I noticed other problem > > Map does not refresh unless I run .php file first. and then .html > file. > > Ultimately I am trying to show simple address map for company with > addittion of my other stuff for particular company. (Using mypage.php? > Company=TestCompany )So there is multiple php includes involved. > > I think cache might be a problem, since I have to refresh .php first. > > How do I combine all of this together.... > > I am really good with copying and pasteing... So full working samples > would be great > Or specific instructions how to modify Pamela's code. How about you post a link to what you have with a specific description of what you are having trouble getting it to do? http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines You might want to visit this link from that page as well: http://www.catb.org/%7Eesr/faqs/smart-questions.html -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
