Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Google Forum


You are currently viewing our The Google Forum as a guest. Please register to participate.
Login



Reply
help with google map api
Old 05-17-2008, 01:33 PM help with google map api
rezzy's Avatar
Super Talker

Posts: 115
Location: in the interwebz
Trades: 0
hello all,

I am trying to create a page that will highlight the business location. So far, I have been able to focus on the business location but I have been unable to mark it. Can someone help me with adding the code to make it work?

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Google Maps JavaScript API Example</title>

  <div id="mapsearch">
    <span style="color:#676767;font-size:11px;margin:10px;padding:4px;">One Moment</span>
  </div>

  <script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAEMZPF1wtJKXadYrrkUSIlhT_ZZT0e3q4ZpL9tag7In2ZlBB0UBQqx6WF3pYL-Hcl6auTtJbYesxrmw"
    type="text/javascript"></script>
  <script src="http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-msw&key=ABQIAAAAEMZPF1wtJKXadYrrkUSIlhT_ZZT0e3q4ZpL9tag7In2ZlBB0UBQqx6WF3pYL-Hcl6auTtJbYesxrmw"
    type="text/javascript"></script>
  <style type="text/css">
    @import url("http://www.google.com/uds/css/gsearch.css");
  </style>

  <!-- Map Search Control and Stylesheet -->
  <script type="text/javascript">
    window._uds_msw_donotrepair = true;
  </script>
  <script src="http://www.google.com/uds/solutions/mapsearch/gsmapsearch.js?mode=new"
    type="text/javascript"></script>
  <style type="text/css">
    @import url("http://www.google.com/uds/solutions/mapsearch/gsmapsearch.css");
  </style>

  <style type="text/css">
    .gsmsc-mapDiv {
      height : 300px;
    }

    .gsmsc-idleMapDiv {
      height : 300px;
    }

    #mapsearch {
      width : 400px;
      margin: 10px;
      padding: 4px;
    }
  </style>
  <script type="text/javascript">
    function LoadMapSearchControl() {

      var options = {
            zoomControl : GSmapSearchControl.ZOOM_CONTROL_ENABLE_ALL,
            title : "Unique Skin Care",
            url : "http://www.uniqueskincare.net",
            idleMapZoom : GSmapSearchControl.ACTIVE_MAP_ZOOM+1,
            activeMapZoom : GSmapSearchControl.ACTIVE_MAP_ZOOM+1
            }

      new GSmapSearchControl(
            document.getElementById("mapsearch"),
            "319 First Colonial Road Virginia Beach, Virginia 23454",
            options
            );

    }
    // arrange for this function to be called during body.onload
    // event processing
    GSearch.setOnLoadCallback(LoadMapSearchControl);
  </script>
<!-- ++End Map Search Control Wizard Generated Code++ -->
            
  </body>
</html>
__________________

Please login or register to view this content. Registration is FREE

Resnodesigns

Last edited by rezzy; 05-17-2008 at 01:36 PM..
rezzy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to help with google map api
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.08604 seconds with 12 queries