Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. [52.6294414232, 1.28337337354], [52.6294108159, 1.28350410559], [52.6293577844, 1.28347057106], [52.6292373999, 1.28391974753], [52.6293340783, 1.28400089488], [52.6292540937, 1.28429051171], [52.6292088096, 1.28430189851], [52.6291929061, 1.2842268041], [52.6291753654, 1.28421070907], [52.6291251702, 1.28439909373], [52.6289228389, 1.28423612589], [52.6289538563, 1.28409064607], [52.628795581, 1.28396054235], [52.6288674082, 1.28364075593], [52.628946546, 1.28370580721], [52.6289763352, 1.28360457624], [52.6290289574, 1.2836528604], [52.6290693582, 1.28349330243], [52.6291215713, 1.2835563364], [52.6292403179, 1.28316615953],
  2.  
  3. <script>
  4. var boundary = <?php echo $boundary ?>;
  5. </script>
  6.  
  7. var boundary = <?php echo json_encode($boundary) ?>;
  8.  
  9. var boundary = <?php echo $boundary; ?>;
  10.  
  11. for(var i = 0; i < boundary.length; ++i ){
  12. boundary[i] = new google.maps.LatLng(boundary[i][0],
  13. boundary[i][1]);
  14. }
  15. new google.maps.Polygon({path:boundary/*,more properties*/});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement