Hey,

I was not aware about the Google Maps API key needing to be recent to work with 
Google Earth. I'll add a mention to the docs.

The zoom parameter works exactly the same as in SGM, at least for Google Maps 
and Yahoo! Maps: a custom zoom will only be accepted on a result format map 
when an alternate centre is set. The OpenLayers code does follow another 
approach and allows you to set a zoom regardless of the centre.

If you think this is an issue and should be fixed, please post it here at the 
bugs section [0]. Feel free to add your own opninion about which approach being 
best (allow custom zooms always vs only when a custom centre is set) to the 
talk page [1].

[0] http://www.mediawiki.org/wiki/Extension:Semantic_Maps/Future#Bugs
[1] 
http://www.mediawiki.org/w/index.php?title=Extension_talk:Semantic_Maps/Future

 
Cheers,
De Dauw '[RTS]BN+VS*' Jeroen

 
Forum: code.bn2vs.com
Blog: blog.bn2vs.com

Xfire: bn2vs ; Skype: rts.bn.vs 

Don't panic. Don't be evil.
70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65!





________________________________
From: Laurent Alquier <laur...@alquier.org>
To: semediawiki-devel@lists.sourceforge.net
Sent: Wednesday, July 22, 2009 9:35:58 PM
Subject: Re: [SMW-devel] Maps and Semantic Maps released

Indeed, it looks like old API Keys do not support the Earth plugin. I replaced 
both variables with the new key I got today without problem.

A documentation about the new parameter names for display_point would be 
welcome. 

Another observation, the zoom parameter doesn't seem to be working for me.

Here is a query :

{{#ask:
[[Has page name::Page name]]
|?Has coordinates
|format=googlemaps
|width=300
|height=300
|zoom=6
}}

The map generated from this query has the same zoom, regardless of the value of 
zoom= or whether I add 'autozoom' or not.

- Laurent


________________________________
From: "Yaron Koren" <yaro...@gmail.com>
Sent: Wednesday, July 22, 2009 7:23 AM
To: laur...@alquier.org
Subject: Re: [SMW-devel] Maps and Semantic Maps released

Hi,

The map-key location thing should be improved in the Maps extension - there's 
no real reason why it should matter.

The new equivalent of #semantic_google_map is #display_point - there's actually 
nothing semantic about the #semantic_google_map function, which is one of the 
big reasons why I'm glad to be rid of it. :) Though the parameters have changed 
- they now require parameter names. There should definitely also be something 
in the "switching from SGM" documenation about that.

I haven't had that problem with Google Earth - maybe it depends on when your 
key is from? Perhaps Jeroen has more information on this.

-Yaron



On Wed, Jul 22, 2009 at 3:14 PM, Laurent Alquier <laur...@alquier.org> wrote:

Another point to investigate.
>
>I was able to display maps using the same value for $wgGoogleMapsKey and 
>$egGoogleMapsKey.
>However, when I tried to turn 'earth=on', Google basked that the API key was 
>not valid for this site. I had to request a new key for $egGoogleMapsKey to 
>get both types of map to work.
>
>Other than that (and the compatibility issue with #semantic_google_map I 
>reported earlier), I like this extension a lot so far. very promissing.
>
>- Laurent
>
>
>
________________________________
From: "Yaron Koren" <yaro...@gmail.com>
>Sent: Wednesday, July 22, 2009 6:48 AM
>To: "Sergey Chernyshev" <sergey.chernys...@gmail.com>
>Subject: Re: [SMW-devel] Maps and Semantic Maps released
>
>A few notes on the Google maps key: Laurent - do you have the key setting 
>after the inclusion of the Maps extension? If it comes beforehand, it won't 
>work.
>
>Sergey - the decision was made to use $eg, since that's the correct convention 
>for setting global variables in extensions (though it hasn't been followed in 
>any SMW-related extensions until now):
>
>http://www.mediawiki.org/wiki/Manual:Coding_conventions#Extension_Functions_and_Variables
>
>>
>It's true that $wgGoogleMapsKey is used in other extensions; Google Maps and 
>SRF (the Exhibit format) are the two that I know about (SGM and Google 
>Geocoder use it too, but the plan is for both of those to go away at some 
>point soon). Keeping it at $wg just for compatibility would be strange, 
>though, given that Maps also uses an $egYahooMapsKey, etc. The documentation 
>should probably at least be clearer, though, about the usage of the two 
>variables.
>
>-Yaron
>
>
>
>On Wed, Jul 22, 2009 at 2:24 PM, Sergey Chernyshev 
><sergey.chernys...@gmail.com> wrote:
>
>>>Yeah, it's not a good idea to rename $wgGoogleMapsKey - it's sort-of generic 
>>>variable for all MediaWiki extensions that use Google Map services.
>>
>>
>>Thank you,
>>
>>        Sergey
>>
>>
>>--
>>Sergey Chernyshev
>>http://www.sergeychernyshev.com/
>>
>>
>>
>>On Wed, Jul 22, 2009 at 2:15 PM, Laurent Alquier <laur...@alquier.org> wrote:
>>
>>Last email for today
>>>
>>>I thought I would give it a shot and install both Maps and Semantic Maps.
>>>
>>>Unfortunately, it did not go as smoothly as I thought:
>>>
>>>1- If I replace $wgGoogleMapsKey by $egGoogleMapsKey in my LocalSettings.php 
>>>file, SRF Exhibit stops displaying Maps.
>>>2- If I keep both GoogleMapKeys variables, Maps throws an error - telling me 
>>>my Google API key is not valid. 
>>>>>>
>>>
>>>
>>>
>>>Getting a dedicated API key for  $egGoogleMapsKey doesn't work.
>>>
>>>I will investigate that again later this week, probably Friday. Maybe it is 
>>>something I missed in the installation.
>>>
>>>- Laurent
>>>
>>>
________________________________
 >>>
>>>
>>>
>>>From: "Laurent Alquier" <laur...@alquier.org>
>>>Sent: Wednesday, July 22, 2009 5:52 AM
>>>To: semediawiki-devel@lists.sourceforge.net
>>>
>>>Subject: Re: [SMW-devel] Maps and Semantic Maps released
>>>
>>>
>>>That was fast :)
>>>
>>>Regarding the error I reported with IE6. 
>>>
>>>I am getting that error on this page : http://wiki.bn2vs.com/wiki/Maps
>>>
>>>Both the Google Map demo page and the Yahoo Maps demo page are working fine 
>>>in IE6.
>>>>>>
>>>
>>>
>>>
>>>The Open Layers demo page is also throwing an error - however, I can visit 
>>>the OpenLayer website and view examples there with IE6 without error.
>>>
>>>Maybe that will help troubleshooting the error.
>>>
>>>- Laurent
>>>
>>>
________________________________
From: "Sergey Chernyshev" <sergey.chernys...@gmail.com>
>>>Sent: Wednesday, July 22, 2009 5:44 AM
>>>To: laur...@alquier.org
>>>Subject: Re: [SMW-devel] Maps and Semantic Maps released
>>>
>>>Yeh, Jeroen created it and replied to me privately already ;) I'll try it 
>>>when I have spare time.
>>>
>>>Thank you,
>>>
>>>        Sergey
>>>
>>>
>>>--
>>>Sergey Chernyshev
>>>http://www.sergeychernyshev.com/
>>>
>>>
>>>
>>>On Wed, Jul 22, 2009 at 1:38 PM, Laurent Alquier <laur...@alquier.org> wrote:
>>>
>>>Hi Sergey
>>>>
>>>>I believe your answer is already available on the Extension:Semantic Maps 
>>>>page :
>>>>
>>>>
>>>>
>>>>Upgrading from Semantic Google Maps
>>>>If you have Semantic Google Maps installed, and want to upgrade to Semantic 
>>>>Maps, these are the steps you need to follow:
>>>>    * Remove the SemanticGoogleMaps directory from your extension directory.
>>>>    * Remove (when you use it) Google Geocoder in a similar fashion.
>>>>    * Upload both Maps and Semantic Maps to your extension directory.
>>>>    * Make sure your API key's are in the right place
>>>>After doing all these steps, you should be done. Maps and Semantic
>>>>Maps are designed to be backward compatible with SGM, so all SGM code 
>>>>should work on Semantic Maps. If you encounter some problem though, please 
>>>>let the extension developers know.
>>>>http://www.mediawiki.org/wiki/Extension:Semantic_Maps
>>>>- Laurent Alquier
>>>>
>>>>
________________________________
From: "Sergey Chernyshev" <sergey.chernys...@gmail.com>
>>>>Sent: Wednesday, July 22, 2009 4:57 AM
>>>>
>>>>To: "jeroen De Dauw" <jeroen_ded...@yahoo.com>
>>>>
>>>>Subject: Re: [SMW-devel] Maps and Semantic Maps released
>>>>
>>>>
>>>>Great job, Jeroen!
>>>>
>>>>How do I go about upgrading from Semantic Google Maps? My 
>>>>TechPresentations.org uses it a little bit.
>>>>
>>>>Thank you,
>>>>
>>>>        Sergey
>>>>
>>>>
>>>>--
>>>>Sergey Chernyshev
>>>>http://www.sergeychernyshev.com/
>>>>
>>>>
>>>>
>>>>On Wed, Jul 22, 2009 at 9:56 AM, jeroen De Dauw <jeroen_ded...@yahoo.com> 
>>>>wrote:
>>>>
>>>>Hey,
>>>>>
>>>>>First of all, let me introduce myself.
>>>>>I'm
>>>>>Jeroen De Dauw, one of the GSoC students for Wikimedia foundation this
>>>>>year. During the last 2 months I've been working on 2 new mapping
>>>>>extensions for MediaWiki and Semantic MediaWiki [0] with Yaron Koren [1] 
>>>>>as mentor. You can read more about this at my blog [2].
>>>>>
>>>>>The first version of both extensions has just been released. These are the 
>>>>>extensions:
>>>>>
>>>>>Maps
>>>>>Maps >>>>>[3] is an extension that provides the ability to display 
>>>>>coordinate
>>>>>data, using multiple mapping services, including Google Maps [4],
>>>>>OpenLayers [5] and Yahoo Maps [6], and allows users to geocode addresses.
>>>>>
>>>>>Semantic Maps
>>>>>Semantic Maps >>>>>[7] is an extension that adds semantic capabilities to 
>>>>>the Maps
>>>>>extension, and therefore provides the ability to add, view and edit
>>>>>coordinate data stored through the Semantic MediaWiki extension, using
>>>>>multiple mapping services. These include Google Maps, OpenLayers and
>>>>>Yahoo Maps. Semantic Maps and Maps are based on Semantic Google Maps
>>>>>and Semantic Layers, and are meant to replace these extensions. For
>>>>>this extension to work, you need to have both Semantic MediaWiki and
>>>>>Maps installed.
>>>>>
>>>>>You can download both extensions via
>>>>> their documentation pages. Suggestions and feature requests are welcome.
>>>>>
>>>>>[0] http://semantic-mediawiki.org/wiki/Semantic_MediaWiki
>>>>>[1] http://yaronkoren.com/
>>>>>[2] http://blog.bn2vs.com/tag/semantic-maps/
>>>>>[3] http://www.mediawiki.org/wiki/Extension:Maps
>>>>>[4] http://code.google.com/apis/maps/
>>>>>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>[5]http://openlayers.org/
>>>>>[6]http://developer.yahoo.com/maps/
>>>>>[7] http://www.mediawiki.org/wiki/Extension:Semantic_Maps
>>>>>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 
>>>>>Cheers,
>>>>>De Dauw '[RTS]BN+VS*' Jeroen
>>>>>
>>>>> 
>>>>>Forum: code.bn2vs.com
>>>>>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>Blog: blog.bn2vs.com
>>>>>
>>>>>Xfire: bn2vs ; Skype: rts.bn.vs 
>>>>>
>>>>>Don't panic. Don't be evil.
>>>>>70 72 6F 67 72 61 6D 6D 69 6E 67 20 34
>>>>> 20 6C 69 66 65!
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>------------------------------------------------------------------------------
>>>>>
>>>>>_______________________________________________
>>>>>>>>>>Semediawiki-devel mailing list
>>>>>Semediawiki-devel@lists.sourceforge.net
>>>>>https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>>>>>
>>>>>
>>>>
>>>>
>>>>------------------------------------------------------------------------------
>>>>
>>>>_______________________________________________
>>>>>>>>Semediawiki-devel mailing list
>>>>Semediawiki-devel@lists.sourceforge.net
>>>>https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>>>>
>>>>
>>>
>>>
>>>
>>>------------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>>>>Semediawiki-devel mailing list
>>>Semediawiki-devel@lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>>>
>>>
>>
>>------------------------------------------------------------------------------
>>
>>_______________________________________________
>>>>Semediawiki-devel mailing list
>>Semediawiki-devel@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>>
>>
>
>


      
------------------------------------------------------------------------------
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to