Help talk:Google Maps format
Any difference between the format names googlemaps and googlemaps3 ?[edit]
There are two names for the format, i.e., googlemaps and googlemaps3 on this page. Is there any difference between the format names googlemaps and googlemaps3 ? --Linforest 16:52, 16 March 2012 (CET)
- This is a confusing one for me too, every time I have a look at it. When using it as a result format you should always use "googlemaps" and it will refer to the current version of Google Maps, which is version 3 at the moment. thus you do not have to change your queries every time Google Maps introduces some more magic. Then it comes to #docinfo we have to use "googlemaps3" for some reason I forgot in the meantime to get it working. It is a bit tricky but just the way it is, I guess. Cheers --[[kgh]] 16:59, 16 March 2012 (CET) PS Do not quote me if my explanation is wrong.
- Heiya, kgh. Thanks for your reply. Ok, I got it. Cheers --Linforest 17:07, 16 March 2012 (CET)
- [View source↑]
- [History↑]
Contents
Thread title | Replies | Last modified |
---|---|---|
Values for Layers? | 0 | 09:15, 6 August 2013 |
Icon selection, by property queried | 1 | 12:18, 3 December 2012 |
Template support | 2 | 12:09, 26 October 2012 |
Which values are allowed for the property "layers"? All Layers listed at google's developer page? Thank you for information and help.
I have User:* pages that contain the following content. In short, the user page has property values that contain the user's last recorded position, the position of the user's home, and the user's work (if specified). At the bottom of the page, there is a compound query that maps the relevant locations in Google Maps. I would like to have different markers for each type of geographic location (ie. each property queried). However, I cannot find a way to associate an icon to each property selected for display (I have placed a comma between the icon filenames as pseudo-code for this attempt). Is there a means to define this association in the query (ie. without having to place each coordinate on separate wiki pages)?
== User locations == {{#set:Has coordinates=0°0.2401'N, 0°0.0066'W |Has coordinates (home)=0°0.2401'N, 20°0.0066'W |Has coordinates (work)=20°0.2401'N, 0°0.0066'W }} == User location map == {{ #compound_query: [[{{FULLPAGENAME}}]][[Has coordinates::+]];?Has coordinates (home);?Has coordinates (work);icon=Blue Google marker.png,Green Google marker.png | format=map }}
Thanks!
Ok, you are not understating how Semantic Compound Queries work. What you're trying to do is quite understandable, as it would make more sense then the approach you'll have to take, since what you're trying now is sadly enough not possible.
You cannot switch on a property, you have to switch on queries. You thus need two queries, each with a different property. See Semantic Maps examples/Compound queries for an example.
I'd love to see switching on properties in SCQ :)
The template option is buggy in Maps/Semantic Maps 1.0.5 (apparently you can't have more than value per property). Has this been fixed in the newer versions?
Don't think this has been fixed. Would be neat if you could create an example of this failing, for instance on a subpage of your user page, and link it from a new bug in http://bugzilla.wikimedia.org/ :)