Sounds like a 2-part question.

You need to make a popup window, and then put the map into it.

This is js I use for the popup:

 var WindowObjectReference;
 function openPopup(url,name,width,height) {
   if(WindowObjectReference == null || WindowObjectReference.closed)
   /* if the pointer to the window object in memory does not exist
      or if such pointer exists but the window was closed */

   {

     var w = (width>0) ? width : window.outerWidth * .9;
     var h = (height>0) ? height : window.outerHeight;
     WindowObjectReference = window.open(url,"WindowObjectReference",
        "resizable=yes,scrollbars=yes,status=yes,width=" + w +
",height=" + h);
     /* then create it. The new window will be created and
        will be brought on top of any other window. */
   }
   else
   {
     WindowObjectReference.focus();
     /* else the window reference must exist and the window
        is not closed; therefore, we can bring it back on top of any
other
        window with the focus() method. There would be no need to re-
create
        the window or to reload the referenced resource. */
   };
 }


To display the map, I use PHP to write the needed js for my map with
center, zoom, marker, infoWindow, etc.
--~--~---------~--~----~------------~-------~--~----~
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