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.

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.

Thanks

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to