|  | 
  Charles deRees - 2010-05-11 16:08:06Hi there, 
 Having downloaded
 test_map_location_input,
 form_map_location, form_frame.html,form_map_location_body.html
 templates-form_frame.html
 country_codes
 forms
 
 and made sure appropriate files reside within appropriate file paths I can not get the example to so anything other than to display a google map and longitude and latitude fields.
 
 I would like to experiment with example of which provides for user input into an Address field and Country selection control.
 
 Could anyone assist me to understand how this do with these examples?
 
 Many thanks in advance for any thoughts or answers you can provide.
 
 Charlie
  Manuel Lemos - 2010-05-11 17:45:05 - In reply to message 1 from Charles deReesVery likely you need to use a Google Maps key that allows your domain to use Google Maps API. 
If that is the case, go to this page to create a key and replace the value in the script line that says $key = ...
 google.com/apis/maps/signup.html
  Charles deRees - 2010-05-11 19:43:26 - In reply to message 1 from Charles deReesThank you for your reply, 
 I had already generated a key as I was able able to display a googlemap.
 
 I tried to generate a new one just in case, as suggested, sadly I see no impact.
 
 I still see a map but no input field for Address or drop down selection for country.
 
 Do you have any other thoughts on what the issue is?
 
 Many thanks in advance.
  Manuel Lemos - 2010-05-11 22:46:45 - In reply to message 3 from Charles deReesI just noticed the the form template script of that example was not up to date. I just uploaded the updated version.
  Charles deRees - 2010-05-13 19:11:25 - In reply to message 4 from Manuel LemosThank you for taking time on my problem.  
I have download the updated version but still get a problem in being able to get the page to provide the textarea for address input and the country drop down as you have in your example. 
 
I am trying to replicate your as posted on my localhost so I can play around with layout and concepts. 
 
I have posted an example of how it looks on my localhost so perhaps you will be able to understand the problem and perhaps point me in the right direction as to what I am doing wrong. 
 cwjderees.host22.com/test_map_locat ...
 
Thank you yet again for you time on this. 
  Manuel Lemos - 2010-05-13 21:45:56 - In reply to message 5 from Charles deReesThe package page has the latest version of the scripts. Are you sure you are using the latest version of the scripts?
  Charles deRees - 2010-05-15 06:53:39 - In reply to message 6 from Manuel LemosExcellent, thank you so much, works well now. I was not using the latest version as you recommended that I check.
 I just need to explore the following, perhaps you could help?
 
 1: Default to zoom
 2: Default to be MAP and not satellite
 3: Display address as google maps finds the input provided in address field for confirmation, as well as the Long and Lat. in the page or alternative page along with the map as google has found
 4: Default country to be UK
 5: How to apply a css div style to the text area and county drop down.
 
 Thank you again and have a lovely day :-)
  Manuel Lemos - 2010-05-15 08:53:32 - In reply to message 7 from Charles deReesHave you looked in the documentation of the class? It explains all the properties you need to use to achieve all you want. meta-language.net/forms.html#174.3. ...
 
You can also look at the example script comments to understand better how it is used.
 
Just let me know if you have further questions.
  Charles deRees - 2010-05-21 11:42:01 - In reply to message 8 from Manuel Lemosthank you for the reference material it has helped a lot. 
 I have completed pretty much everything I wanted to do the only task I am having some difficulties with is to redirect my page to another page to update my MySQL table with the Longitude and Latitude once the submit button is clicked.
 
 I am pretty sure my code should go in the if($doit) condition section.
 
 if($doit)
 {
 $form->GetInputProperty("map", "Latitude", $latitude);
 $form->GetInputProperty("map", "Longitude", $longitude);
 $form->GetInputValue($PID);
 .....
 }
 
 I want something like below....
 
 header("Location:PeopleUpdate.php?pageNum_People=$_GET['pageNum_People']&totalRows_People=$_GET['totalRows_Customers']&Lat=$latitude&Long=$longitude&PID=$PID");
 
 
 |