From: Tomás V. <kas...@gm...> - 2011-06-10 14:47:56
|
Hi, I have a category called Places. One of the fields is Address which keep the postal address of that place. If I build manually the code which will show a map with display_points function, I have no problem at all: <display_points> Plaza de Castilla, Madrid|Plaza de Castilla Calle Antonio Machado 20, 28039, Madrid|Plaza del 15M Puerta del Sol, Madrid|Plaza del Sol </display_points> But I don't know how to get the same results with queries. I've tried a lot of ways getting allways the following error message: In english: An error has been detected in your sintaxis: * Coordinates param must be one or more valid places. The value "Puerta del Sol, Madrid[[SMW::on]]' has been omitted. Se detectó el siguiente error en la sintaxis empleada: In spanish: * Parámetro coordinates debe ser una o más ubicaciones válidas.el valor "Puerta del Sol, Madrid[[SMW::on]]" ha sido omitido. Some of my queries: {{#display_points: {{#ask:[[Category:Places]] [[Place type::Plaza]] |?Address |format=template |template=PostalAddress |sep=;}} }} template PostalAddress: {{{2}}} The following example (in spanish) can be found at: http://t00mlabs.net/asambleadelospoetas/index.php?title=TestMaps I've read http://mapping.referata.com/wiki/Display_points but they don't have any dynamic example. Also I've seen this error message in this page: http://mapping.referata.com/wiki/Examples/Maps_with_multiple_points Does anyone knows how to achieve this? Thanks in advance for any help, t00m |