Help Adding AutoComplete Search to Maps API, also how to add KML layer
I need assistance adding a Google Maps AutoComplete Search Bar, in front of the map itself at the top of the screen. ive done quite a bit of googling, but everything ive tried hasnt worked at all. id also like some guidance on how to add a permanent KML file so the maps will alsways show it...
Here is the current code for the basic maps and a few things changed to suit my needs.
Im unsure of what code to add and where to add it to get these things working...
<!DOCTYPE html>
<html>
<head>
<title>Geographical Radio Frequency Map</title>
<meta name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<style>
html, body, #map_canvas {
margin: 0;
padding: 0;
height: 100%;
}
</style>
<script src="(URL Blocked)=false"></script>
<script>
var map;
function initialize() {
var mapOptions = {
zoom: 5,
center: new google.maps.LatLng(-25, 133),
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById('map_canva s'),
mapOptions);
}
Bookmarks