Thanks a lot tasselhof. You are a very nice person. I will design
accordingly as you told and this should help.

Theres one thing though, the google API key that I have registered is for
http://code.google.com/p/ecycling/. But since I am developing the website in
Visual Studio 2008, how should I test the features? I dont have a registered
domain yet. When I test pages, this is the address that comes up:
http://localhost:3315/ecycling/signup.aspx

So will the API key restrict its use on the localhost?

Best,
conatus

Casey Stengel<http://www.brainyquote.com/quotes/authors/c/casey_stengel.html>
- "There comes a time in every man's life, and I've had plenty of
them."

On Sun, May 17, 2009 at 10:53 PM, tasselhof <[email protected]> wrote:

>
> Hi, I quoted your message down below and answeing inside text.
> But for beginning: I solved this in PHP, so I don't know how much this
> will be helpful for you
>
>
> > What I require is that:
> >
> > 1) At the time of signup, users can mark their location at the adjacently
> > displaying map.
>
> Since you have Google Maps API key, you can create as many maps as you
> want. best way is to create on "sign up page" small map with one
> marker. When marker is dragged or you click into map, fields made for
> your geoposition will be filled up:
>
> a) create simple marker
>  var marker1 = new GMarker(center1, {draggable: true});
>
> b) which will move itself by clicking into map
> GEvent.addListener(map1,"click", function(overlay,latlng) {
> marker1.setLatLng(latlng);
> document.getElementById("latdeg1").value = latlng.lat();
> document.getElementById("londeg1").value = latlng.lng();
> });
>
> c) and because this marker is draggable, you need to actualize
> geoposition after dragging:
>
> GEvent.addListener(marker1, "dragend", function() {
> var latlng = marker1.getLatLng();
> document.getElementById("latdeg1").value = latlng.lat();
> document.getElementById("londeg1").value = latlng.lng();
> });
>
> d) latdeg1 and londeg1 are in my case input fields in PHP form where
> values are filled in
>
> > 2) They can also enter certain 'tag words' like the books they read-
> "agatha
> > christie","dan brown","paulo coelho" etc, while marking their location on
> > the map.
>
> No problem, just add apropriate fields into login form
>
> > 2) The latitudes and longitudes of the above marked places are saved
> > automatically to their users profile on the signup page. (I am using SQL
> > Server 2005)
> >
>
> No problem. I am also using SQL to save data. Anything you need to
> know is that fields for latitude and longitude should be FLOAT(10,6)
>
> > Now, when they are browsing this map on another page,* they can see*-
> > 1) the various pointers marked by the people, along with the books they
> > have.
>
> No problem, you just need to define all the various pointers, for
> example
>
> var iconBlue = new GIcon();
>    iconBlue.image = 'http://labs.google.com/ridefinder/images/
> mm_20_blue.png<http://labs.google.com/ridefinder/images/%0Amm_20_blue.png>
> ';
>    iconBlue.shadow = 'http://labs.google.com/ridefinder/images/
> mm_20_shadow.png<http://labs.google.com/ridefinder/images/%0Amm_20_shadow.png>
> ';
>    iconBlue.iconSize = new GSize(12, 20);
>    iconBlue.shadowSize = new GSize(22, 20);
>    iconBlue.iconAnchor = new GPoint(6, 20);
>    iconBlue.infoWindowAnchor = new GPoint(5, 1);
>
>    var iconRed = new GIcon();
>    iconRed.image = 'http://labs.google.com/ridefinder/images/
> mm_20_red.png <http://labs.google.com/ridefinder/images/%0Amm_20_red.png>
> ';
>    iconRed.shadow = 'http://labs.google.com/ridefinder/images/
> mm_20_shadow.png<http://labs.google.com/ridefinder/images/%0Amm_20_shadow.png>
> ';
>    iconRed.iconSize = new GSize(12, 20);
>    iconRed.shadowSize = new GSize(22, 20);
>    iconRed.iconAnchor = new GPoint(6, 20);
>    iconRed.infoWindowAnchor = new GPoint(5, 1);
>
>    var customIcons = [];
>    customIcons["christie"] = iconBlue;
>    customIcons["poe"] = iconRed;
>
> > 2) if they search for a particular book title, the results are displayed:
>
> Did not solve this in my case ... can't help you in this
> > according to the 'distance between them and the person' who has the book
> > 3) can receive mails containing this list, in the increasing order of
> > distance.
>
> Did not solve this
>
> >
> > There's another thing that I wanted to ask. Can I use Windows Maps API
> for a
> > similar task???
>
> Dunno
>
> >
> > I would be very very very^google times thankful for your support.
> >
> > Best,
> > conatus
>
>
> P.S.: My example of logging by (also geodata) is on
> http://adresar.bohyne.net/registrace.php (in Czech) or on
> http://snipurl.com/hs9um
> (also in Czech)
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to