Jump to content

liderbug

Members
  • Content Count

    15
  • Joined

  • Last visited

Community Reputation

0 Neutral

About liderbug

  • Rank
    Member

Profile Information

  • Gender
    Not Telling
  1. Oh, never mind, don't ask. 😖 Snake bite, <sigh>
  2. I'm trying to get a Google map to work with polygons. var points = [ new google.maps.LatLng(39.0174, -104.6634) , new google.maps.LatLng(39.0190, -104.6634) , new google.maps.LatLng(39.0190, -104.6700) , new google.maps.LatLng(39.0174, -104.6700) ]; works just fine. ---------------------- $q1 = mysqli_query ($con, "select * from points;"); while ($r1 = mysqli_fetch_row ($q1)) { $results[$n++] = "(" . $r1[0] . ")"; } var points = <?php echo json_encode($results); ?>; alert (points); in both cases displays the same (39.0174,-104.6634... numbers. Except the sql doesn't display anything - well the map but not the polygon. I'd love any help you can give. Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.