Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About kwood30

  • Rank
  • Birthday 09/01/1985

Previous Fields

  • Languages

Profile Information

  • Location
  • Interests
    Beginner-in and learning programming, mainly Javascript
  1. I have created my own KML file but having trouble getting it to load with my coding. I am just wanting it as an overlay to show all the border lines for the counties
  2. I have done some research into adding date and time elpsing. There seem to be a few different ways it can be done, but I am having trouble fitting it in to work for me. I have managed it so the the map is still displayed and my county selction function works fine, but where I have tried to incorporate the time and date with the marker placement it hasn't worked not does the placement of the marker now either. The error in my browser console states no element found which I google searched with no luck of a resolution exxept for a firefox debug. Here is my coding, If anyone can guide me in where
  3. I am really new to this, so am teaching myself. Through my research this is what I have come up with and why I am asking for help. I just want the dropdown menu to be apply to select one of the counties in it and this will the use the coordinates to focus the map on that county
  4. lease see my code below, I have sorted out all my coding to work how I want it too, but for some reason I just can't get it to load the map when you open it up in a browser. Can anyone see where I have gone wrong and guide me to get it work please. Thank you. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?libraries=places"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <title>County Polygons + Markers w
  5. I have revised the issue with KML and have put up a new post regarding what I have changed, if anyone could help with that please
  6. Im am trying to assign the function of my dropdown menu so when you click on the selected county it will focue on that countie. I have written out what I can below, through research as I am new to all this, but am not sure how to link it all together. I know I haven't got the googlemaps attached but I do in my full page, it is just this section i am having trouble in trying to link together. <!doctype html> <html> <head> <script type="text/javascript"> document.getElementById('counties').addEventListener('click', function(e) {alert
  7. Does this look better? function countiesDropdown(container){ var counties = [ "bedfordshire", "hertfordshire", "cambridgeshire", "northamptonshire", "buckinghamshire" ]; var out = "<select><option value=''>Select County</option>"; for (var key in counties) { out += "<option value='"+key+"'>"+counties[key]+"</option>"; } out += "</select>"; console.log(out); document.getElementById(container).innerHTML = out; } What I am generally trying to do is inbed a kml file to display all UK county border lines and then use
  8. I am trying to embed some kml files for local county bodries but am not sure how to asign multiple ones as I am coding in dreamweaver. Also I have made a drop down menu for eack kml file but am not sure how to link and get it all to work, mainly want the boundries to be shown on the map at all times and when selected in the dropdown menu, that particular county is shown on the map. Please see my coding I have done, and if there is any advice i would appreciate it. I am completely new to this and trying to teach myself. var kmlUrl = 'maps/central bedfordshire' ; var kmlOptions = { suppressInf
  9. ok thank you, so with doing that, how do I link it to work with a <form> action for the user to input their own info to attach to the marker?
  10. I am trying to allow a user to input their own info in to their place make, say a reference number for example, but am struggling to do so. I believe the way for this is a regular counter loop, but i am not sure how and where to put it and even if that is the right thing to do. Can anyone help me with this please. The code below is what I have done so far. <!DOCTYPE html> <html> <head> <style type="text/css"> #supplementwindow { display: none; position: absolute; left: 10px; top: 10px; } </style> <!-- Google Maps and Places API --> <
  • Create New...