Talk:Semantic Maps
Discussion page moved!
Use the new one on semantic-mediawiki.org instead!
Contents
| Thread title | Replies | Last modified |
|---|---|---|
| Making Map Input Required | 1 | 14:30, February 9, 2011 |
| Maps on Especial RunQuery | 4 | 00:41, January 10, 2011 |
| many events on one location | 1 | 10:03, December 19, 2010 |
| Displaying the Coordinates | 6 | 00:18, December 4, 2010 |
| Coordinates Forms + Maps | 1 | 17:48, November 30, 2010 |
| Confusing information on Semantic_Maps page | 1 | 15:48, October 23, 2010 |
| Bug in maps with one point | 4 | 20:29, October 25, 2010 |
![]() First page |
![]() Previous page |
![]() Next page |
![]() Last page |
Hi! I asked this question on the Semantic Forms board and was sent here. The code below doesn't seem to force the user to enter in coordinates. Is this a bug? Am I doing wrong? Link to Actual Form
{{{
field
| Coordinates
| input type=googlemaps
| height=500
| width=100%
| autozoom=off
| zoom=6
| mandatory
}}}
Timothy Clemans
Is it possible to run the maps on Especial RunQuery pages?
http://www.wikirio.com.br/Especial:RunQuery/Pesquisar_Restaurante
how can i display many events on one location? i think Google Maps Clusters are needed into your extension.
MW 1.16, Semantic Maps (Version 0.7.2 rc1), Semantic Forms (Version 2.0.4), Monobook theme. All extentions located here.
So, I cobbled together a template and form to produce the ability to store info on some properties. This is the pertinent, cropped parts :
|The coordinates= }} ! The coordinates | {{#display_point:coordinates={{{The coordinates|}}} |zoom=15 |width=350 |height=300 |type=hybrid }} |}
! The coordinates | {{{field|The coordinates|input type=googlemap|earth=on}}} |- |}
This is an example of how it plays out.
I am not seeing the display of the coordinates. I am not a coder and kinda copied stuff as I found it in your blog and other posts. I could really use some help and would be obliged if you could tell me how to properly fix the Template and Form. I haven't defined the Properties as I wanted to get the stuff set up first. Any other recommendations would be great! Thanx! --Coffeehound 21:42, November 29, 2010 (EST)
Am I asking the question in the right place; is this Extension supported here or should I post somewhere else? --Coffeehound 01:54, December 1, 2010 (EST)
For this kind of help you are probably best off asking at #semantic-mediawiki on irc.freenode.net, or the semediawiki-user@lists.sourceforge.net mailing list.
In any case, I'm not getting what your exact problem is. On the page you linked there is a working map... If you are asking about how to work with Semantic MediaWiki and Semantic Maps, please refer to the documentation at http://semantic-mediawiki.org/wiki/Help:User_manual and on this wiki.
I want the coordinates, themselves, to also display so that I can create pages with them. Thanx and I will also ask in the IRC. --Coffeehound 17:52, December 1, 2010 (EST)
Sorry, but I still don't understand what you want to do. Can you describe it step by step?
Hi,
This option to get the coordinates automatically is fantastic! I´d like to know if it´s possible to get the other Coordinate format like -22.55555, -42.332233?
I´m using: Coordenadas
http://www.wikirio.com.br/Especial:Editar_dados/Restaurante/Teste
Thanks, Edgard.
Under the heading "Getting support", it says to ask questions to the talk page on mediawiki.org, and if you go to that page it says "Discussion page moved! Use the new one on the documentation wiki instead!" with a link back to this page.
If I do a {{#show foo|?coordinates|format=map}} which returns only a single point, the map displayed has the marker in the right position, but the center of the map is wrong - latitude and longitude is reversed. (A point in 10N 5E will give center of map in 5N 10E).
I fixed it by changing the array indexes in setCentreDefault in includes/queryprinters/SM_MapPrinter.php
Tested on 0.7.1
- Håvard
Thanks for pointing this out. It has been fixed on svn trunk and should work correctly in the next release. Note that your modification does not fix the issue itself, and will break when updating the code.
I believed my change was just in the display-part of the code - does my change make the data in the database wrong? Will I not be able to upgrade SemanticMaps without modifying my data?
The change you made won't corrupt anything, so no worries there. What I meant is that if you update via svn, your change will break the new code. Simply replacing your current code with the 0.7.2 one when it's released should work :)
![]() First page |
![]() Previous page |
![]() Next page |
![]() Last page |




