Il 21:44, venerdì 16 marzo 2007, Gaston Izaguirre ha scritto: > Hi all, > > Is there any possibility to use two RESULT_HYPERLINK fields to "construct" > only one URL to be open as an hypelink from an infoWindow? > > E.g. defining something like: > METADATA > ... > "RESULT_FIELDS" > "textid,id,vid,latitude,longitude,vel,sent,fecha" "RESULT_HEADERS" > "Etiqueta,ID,Unidad,Latitud,Longitud,Velocidad,Rumbo,Fecha/Hora" > "RESULT_HYPERLINK" "latitude,longitude" ??? > ... > END > > in the metadata section of an VRT OGR layer, to get an URL with both > "latitude" and "longitude" fields values in it. > > My intention is to create (in custom.js?) a link to open a google maps > window with the map centered in this "latitude" and "longitude" values: > http://maps.google.com/maps?z=18&ll='latitude,longitude' > > Somebody has made something similar?
Yes, I normally alter function parseJSON(jsonstr, infoWin) in pmjson.js and pass over the whole record to custom.js This work fine, once you have the whole data record in custom.js you can just redirect to wherever you want. Regards. -- Alessandro Pasotti itOpen - "Open Solutions for the Net Age" w3: www.itopen.it Linux User# 167502 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users