Then dont expect help here
http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines?hl=en
On Mon, Sep 22, 2008 at 2:46 PM, IcySuMmeR <[EMAIL PROTECTED]> wrote:
>
> I can't paste the link to my map cos it is located in the intranet.
>
> function process(form) {
> // == obtain the data
> var details = form.data.value;
> var lat = lastmarker.getPoint().lat();
> var lng = lastmarker.getPoint().lng();
> var url = "StoreData.aspx";
>
> GDownloadUrl(url, function(doc){}, "lat=" +lat+ "&lng="
> +lng+ "&details="+details);
>
> // == remove the input marker and replace it with a
> completed marker
> map.closeInfoWindow();
> var marker = createMarker(lastmarker.getPoint(),details);
> GEvent.trigger(marker,"click");
> }
>
> How to url encode the string?
>
> On Sep 22, 1:33 am, "Barry Hunter" <[EMAIL PROTECTED]>
> wrote:
>> That code is wrong, but please follow the posting guidelines and post
>> a link to your map. As it stands it might be a copy paste error that
>> makes the snippet wrong or it might be like that in your code - its
>> just guesswork.
>>
>> You are more likly to want to do
>>
>> "myserver.aspx?lat=1.12&lng=-23.45&details=This+is+my+house"
>>
>> You should probabyl be passing params in the url. - but also you need
>> to url encode the string - so that spaces work.
>>
>>
>>
>>
>>
>> On Sun, Sep 21, 2008 at 3:29 PM, IcySuMmeR <[EMAIL PROTECTED]> wrote:
>>
>> > Hi,
>>
>> > I'm actually quite new with asp.net. Anyway i have created one page
>> > where i put the code obtained fromhttp://econym.googlepages.com/store.htm
>> > to my page. However even when i add this ->
>>
>> > GDownloadUrl(
>> > "myserver.aspx",
>> > function(doc){},
>> > "lat=1.12&lng=-23.45&details=This is my house"
>> > );
>>
>> > It doesn't call the Page_Load function in myserver.aspx. So i wasn't
>> > able to retrieve the information from lat, lng and details to be
>> > stored. What should I do, does anyone got any suggestions?
>>
>> > Thanks
>>
>> --
>> Barry
>>
>> -www.nearby.org.uk-www.geograph.org.uk-- Hide quoted text -
>>
>> - Show quoted text -
> >
>
--
Barry
- www.nearby.org.uk - www.geograph.org.uk -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---