I saw the setCenter right after a clicked submit. Always happens that
way.

here is a link to my current map.
http://dajohnson1s.dvrdns.org

i am wanting to add a button/tab not sure yet that will call a
function.

        // ==Relocate Function ==
        relocate(){
                var currentPoint = new GLatLng(37.296443,-89.521741);

                map.panTo(currentPoint);
                marker = new GMarker(currentPoint);
                map.addOverlay(marker);

        }

once i add this function within the ifbrowsercompatable{} the map no
longer loads.

Thanks

On Aug 27, 11:30 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> On Aug 27, 9:15 pm, daniel <[EMAIL PROTECTED]> wrote:> Ok, I have seen this 
> done, I but cannot remember where.
>
> > My university has acquired an couple of buildings on the other side of
> > town.  The idea is they would like to incorporate this  into the
> > current map that I am making.
>
> > so my idea is that I would like to have a tab/button on the page that
> > will go from the main campus to this set of buildings.  (like you are
> > flying there).
>
> setCenter
--~--~---------~--~----~------------~-------~--~----~
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