Jump to content

Search the Community

Showing results for tags 'Marker'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. So I have code for a google map window. However I am having trouble figuring out how to make a generic google marker appear on my Long and Lat location. The <div id> tag is at the bottom of the page and I want to figure out how to center it in the page. My second question is how to indent the first line of the first paragraph. this is my Google Map Code: <script src="http://maps.googleapis.com/maps/api/js"></script> <script> function initialize() { var mapProp = { center:new google.maps.LatLng(41.652589,-91.532774), zoom:18, mapTypeId:google.maps.MapTypeId.ROADMAP }; var map=new google.maps.Map(document.getElementById("googleMap"),mapProp); } google.maps.event.addDomListener(window, 'load', initialize); var myLatlng = new google.maps.LatLng(41.652589,-91.532774); var marker = new google.maps.Marker({ position: myLatlng, map: map, }); </script> <div id="googleMap" style="width:500px;height:380px;">
×
×
  • Create New...