<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>all you need to do is to modify the geoloc plugin to output
some template instead of using the actuel user message system.</FONT></DIV>
<DIV><FONT size=2>there are plenty of examples in the wiki's "how to" and also
in the mailing list about how to do that.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>in short, </FONT></DIV>
<DIV><FONT size=2>remove/comment the line</FONT></DIV>
<DIV>$this->getCartoclient()->addMessage('geo_x='.$this->Geo_x.',geo_y='.$this->Geo_y);</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>modify the renderFormPrepare function:</FONT></DIV>
<DIV>return array('geoloc_active' => $this->pluginStatus,</DIV>
<DIV>
<DIV>
'geo_x' =>
$this->Geo_x,</DIV>
'geo_y' => $this->Geo_y);</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>modify your Cartoclient.tpl:</FONT></DIV>
<DIV><FONT size=2>X = <span id="<FONT size=3>geo_x</FONT>">{$<FONT
size=3>geo_x</FONT>}</span> Y = <span id="<FONT
size=3>geo_y</FONT>">{$<FONT size=3>geo_y</FONT>}</span></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>( the spans with an id are important because thats how the
values placeholder are found and updated when using ajax)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=mannobug@gmail.com href="mailto:mannobug@gmail.com">mannobug
mannobug</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, June 14, 2008 12:11
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] GEoloco
coordiantese selectable</DIV>
<DIV><BR></DIV>
<DIV>Hi all,</DIV>
<DIV>I downloaded geoloc.zip plugin and after installation it was everything
ok.</DIV>
<DIV>Clicking on my map I retrieve coordiantes vai addMessage(...) function
call.</DIV>
<DIV>I want to make the result of addMessage selectable, thus I like to add
coordiantes in ad geoloc template but I'm really in trouble.</DIV>
<DIV>I found on previups discussion in this mailing list some information
(e.g. retrive coordinates from map, and so on, ...) but i'm still locked
because no solution run for me :-(</DIV>
<DIV>Can anyone show me how to do this , thus make selectable or writebale to
clipboard coordinates retrived?</DIV>
<DIV>It's really important, I must develop this in time for my thesis
:-)</DIV>
<DIV>Thanks all... Regards.</DIV>
<DIV>Emmanuele</DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>