[xwiki-devs] [Contrib] New repo and JIRA for an OpenStreetMap macro

2018-06-26 Thread Stéphane Laurière

Hi devs,

We have a MapMacro already [1], for displaying Google Maps. I'd like to create 
a distinct one for creating maps based on OpenStreetMap. Another option would 
be to enhance the existing MapMacro for supporting the display of OSM maps in 
addition, but this would make the code more complex, and in general an 
administrator willing to use maps in his wiki is likely to opt for one map 
type, probably not both, what do you think?

If you agree, the proposed repo name and JIRA would be:

- Repo: macro-openstreetmap
- JIRA project: OSM

[1] https://extensions.xwiki.org/xwiki/bin/view/Extension/Map%20Macro

Thank you,

Stéphane


--
Stéphane Laurière
XWiki www.xwiki.com
@slauriere




Re: [xwiki-devs] [Contrib] New repo and JIRA for an OpenStreetMap macro

2018-06-26 Thread Vincent Massol
Hi Stephane,

> On 26 Jun 2018, at 20:37, Stéphane Laurière  wrote:
> 
> Hi devs,
> 
> We have a MapMacro already [1], for displaying Google Maps. I'd like to 
> create a distinct one for creating maps based on OpenStreetMap. Another 
> option would be to enhance the existing MapMacro for supporting the display 
> of OSM maps in addition, but this would make the code more complex, and in 
> general an administrator willing to use maps in his wiki is likely to opt for 
> one map type, probably not both, what do you think?

Since this is not a large “component”, I think my preferences goes to a single 
{{map}} macro, with a “provider” parameter (provider=“google”, “openstreetmap”, 
“apple”, etc) and possibly aliases such as {{googlemap}} {{openstreetmap}} 
which would simply be shortcuts for {{map provider=“google”}} and {{map 
provider=“openstreetmap”}}.

I think it would make it simpler from a user POV. I’d prefer to have one 
recommended map macro that we try to support instead of a myriad of smaller map 
macros that would not be recommended and at various levels of support.

WDYT?

Thanks
-Vincent

> If you agree, the proposed repo name and JIRA would be:
> 
> - Repo: macro-openstreetmap
> - JIRA project: OSM
> 
> [1] https://extensions.xwiki.org/xwiki/bin/view/Extension/Map%20Macro
> 
> Thank you,
> 
> Stéphane
> 
> 
> -- 
> Stéphane Laurière
> XWiki www.xwiki.com
> @slauriere
> 
> 



Re: [xwiki-devs] [Contrib] New repo and JIRA for an OpenStreetMap macro

2018-06-26 Thread Paul Libbrecht
Stéphane,

One of the very interesting derivative of OpenStreetMap is umap 
http://umap.openstreetmap.fr
That’d be yet another provider, right?

paul

On 26 Jun 2018, at 20:44, Vincent Massol wrote:

> Hi Stephane,
>
>> On 26 Jun 2018, at 20:37, Stéphane Laurière  wrote:
>>
>> Hi devs,
>>
>> We have a MapMacro already [1], for displaying Google Maps. I'd like to 
>> create a distinct one for creating maps based on OpenStreetMap. Another 
>> option would be to enhance the existing MapMacro for supporting the display 
>> of OSM maps in addition, but this would make the code more complex, and in 
>> general an administrator willing to use maps in his wiki is likely to opt 
>> for one map type, probably not both, what do you think?
>
> Since this is not a large “component”, I think my preferences goes to a 
> single {{map}} macro, with a “provider” parameter (provider=“google”, 
> “openstreetmap”, “apple”, etc) and possibly aliases such as {{googlemap}} 
> {{openstreetmap}} which would simply be shortcuts for {{map 
> provider=“google”}} and {{map provider=“openstreetmap”}}.
>
> I think it would make it simpler from a user POV. I’d prefer to have one 
> recommended map macro that we try to support instead of a myriad of smaller 
> map macros that would not be recommended and at various levels of support.
>
> WDYT?
>
> Thanks
> -Vincent
>
>> If you agree, the proposed repo name and JIRA would be:
>>
>> - Repo: macro-openstreetmap
>> - JIRA project: OSM
>>
>> [1] https://extensions.xwiki.org/xwiki/bin/view/Extension/Map%20Macro
>>
>> Thank you,
>>
>> Stéphane
>>
>>
>> -- 
>> Stéphane Laurière
>> XWiki www.xwiki.com
>> @slauriere
>>
>>


signature.asc
Description: OpenPGP digital signature


Re: [xwiki-devs] [Contrib] New repo and JIRA for an OpenStreetMap macro

2018-06-27 Thread Stéphane Laurière

Hi Vincent, Hi all,

Vincent Massol:

Hi Stephane,


On 26 Jun 2018, at 20:37, Stéphane Laurière  wrote:

Hi devs,

We have a MapMacro already [1], for displaying Google Maps. I'd like to create 
a distinct one for creating maps based on OpenStreetMap. Another option would 
be to enhance the existing MapMacro for supporting the display of OSM maps in 
addition, but this would make the code more complex, and in general an 
administrator willing to use maps in his wiki is likely to opt for one map 
type, probably not both, what do you think?


Since this is not a large “component”, I think my preferences goes to a single 
{{map}} macro, with a “provider” parameter (provider=“google”, “openstreetmap”, 
“apple”, etc) and possibly aliases such as {{googlemap}} {{openstreetmap}} 
which would simply be shortcuts for {{map provider=“google”}} and {{map 
provider=“openstreetmap”}}.

I think it would make it simpler from a user POV. I’d prefer to have one 
recommended map macro that we try to support instead of a myriad of smaller map 
macros that would not be recommended and at various levels of support.


It makes sense indeed :-)

Thanks for your feedback

I'll push an updated MapMacro asap

Cheers

Stéphane



WDYT?

Thanks
-Vincent


If you agree, the proposed repo name and JIRA would be:

- Repo: macro-openstreetmap
- JIRA project: OSM

[1] https://extensions.xwiki.org/xwiki/bin/view/Extension/Map%20Macro

Thank you,

Stéphane


--
Stéphane Laurière
XWiki www.xwiki.com
@slauriere







--
Stéphane Laurière
XWiki www.xwiki.com
@slauriere



Re: [xwiki-devs] [Contrib] New repo and JIRA for an OpenStreetMap macro

2018-06-27 Thread Stéphane Laurière

Hi Paul,

uMap is very interesting indeed. It uses the same JavaScript library as the one I intend to use 
for our macro: LeafletJS . Technically, we'd have several tile 
providers for the OpenStreetMap database such as the ones listed at 
: openstreetmap, openstreetmapfr, 
openseamap etc. and the ones provided by Mapbox. Note that uMap provides a Django layer for 
creating collaborative maps: . We 
could think of an XWiki layer along the same lines...

Cheers

Stéphane

Paul Libbrecht:

Stéphane,

One of the very interesting derivative of OpenStreetMap is umap 
http://umap.openstreetmap.fr
That’d be yet another provider, right?

paul

On 26 Jun 2018, at 20:44, Vincent Massol wrote:


Hi Stephane,


On 26 Jun 2018, at 20:37, Stéphane Laurière  wrote:

Hi devs,

We have a MapMacro already [1], for displaying Google Maps. I'd like to create 
a distinct one for creating maps based on OpenStreetMap. Another option would 
be to enhance the existing MapMacro for supporting the display of OSM maps in 
addition, but this would make the code more complex, and in general an 
administrator willing to use maps in his wiki is likely to opt for one map 
type, probably not both, what do you think?


Since this is not a large “component”, I think my preferences goes to a single 
{{map}} macro, with a “provider” parameter (provider=“google”, “openstreetmap”, 
“apple”, etc) and possibly aliases such as {{googlemap}} {{openstreetmap}} 
which would simply be shortcuts for {{map provider=“google”}} and {{map 
provider=“openstreetmap”}}.

I think it would make it simpler from a user POV. I’d prefer to have one 
recommended map macro that we try to support instead of a myriad of smaller map 
macros that would not be recommended and at various levels of support.

WDYT?

Thanks
-Vincent


If you agree, the proposed repo name and JIRA would be:

- Repo: macro-openstreetmap
- JIRA project: OSM

[1] https://extensions.xwiki.org/xwiki/bin/view/Extension/Map%20Macro

Thank you,

Stéphane


--
Stéphane Laurière
XWiki www.xwiki.com
@slauriere





--
Stéphane Laurière
XWiki www.xwiki.com
@slauriere



Re: [xwiki-devs] [Contrib] New repo and JIRA for an OpenStreetMap macro

2018-06-27 Thread Ludovic Dubost
Do we have the plan of being able to configure the openstreetmap provider ?

Ludovic

--
*Ludovic Dubost*
*Founder and CEO*
ludo...@xwiki.com
skype: ldubost
Blog: http://blog.ludovic.orgTry XWiki on the cloud
  - Try Cryptpad: Secure
realtime Wysiwyg Editing 


On Wed, Jun 27, 2018 at 9:27 AM, Stéphane Laurière 
wrote:

> Hi Paul,
>
> uMap is very interesting indeed. It uses the same JavaScript library as
> the one I intend to use for our macro: LeafletJS .
> Technically, we'd have several tile providers for the OpenStreetMap
> database such as the ones listed at  g/wiki/Tile_servers>: openstreetmap, openstreetmapfr, openseamap etc. and
> the ones provided by Mapbox. Note that uMap provides a Django layer for
> creating collaborative maps:  ct/django-leaflet-storage>. We could think of an XWiki layer along the
> same lines...
>
> Cheers
>
> Stéphane
>
> Paul Libbrecht:
>
> Stéphane,
>>
>> One of the very interesting derivative of OpenStreetMap is umap
>> http://umap.openstreetmap.fr
>> That’d be yet another provider, right?
>>
>> paul
>>
>> On 26 Jun 2018, at 20:44, Vincent Massol wrote:
>>
>> Hi Stephane,
>>>
>>> On 26 Jun 2018, at 20:37, Stéphane Laurière  wrote:

 Hi devs,

 We have a MapMacro already [1], for displaying Google Maps. I'd like to
 create a distinct one for creating maps based on OpenStreetMap. Another
 option would be to enhance the existing MapMacro for supporting the display
 of OSM maps in addition, but this would make the code more complex, and in
 general an administrator willing to use maps in his wiki is likely to opt
 for one map type, probably not both, what do you think?

>>>
>>> Since this is not a large “component”, I think my preferences goes to a
>>> single {{map}} macro, with a “provider” parameter (provider=“google”,
>>> “openstreetmap”, “apple”, etc) and possibly aliases such as {{googlemap}}
>>> {{openstreetmap}} which would simply be shortcuts for {{map
>>> provider=“google”}} and {{map provider=“openstreetmap”}}.
>>>
>>> I think it would make it simpler from a user POV. I’d prefer to have one
>>> recommended map macro that we try to support instead of a myriad of smaller
>>> map macros that would not be recommended and at various levels of support.
>>>
>>> WDYT?
>>>
>>> Thanks
>>> -Vincent
>>>
>>> If you agree, the proposed repo name and JIRA would be:

 - Repo: macro-openstreetmap
 - JIRA project: OSM

 [1] https://extensions.xwiki.org/xwiki/bin/view/Extension/Map%20Macro

 Thank you,

 Stéphane


 --
 Stéphane Laurière
 XWiki www.xwiki.com
 @slauriere



>
> --
> Stéphane Laurière
> XWiki www.xwiki.com
> @slauriere
>
>


Re: [xwiki-devs] [Contrib] New repo and JIRA for an OpenStreetMap macro

2018-06-27 Thread Stéphane Laurière

Ludovic Dubost:

Do we have the plan of being able to configure the openstreetmap provider ?


My plan is to add two parameters to the macro:

- "tiles" for configuring the tile provider URL scheme. Examples: 
https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png 
http://{s}.tile.stamen.com/toner/{z}/{x}/{y}.png 

- "library" for choosing the JavaScript library to be used: either "leaflet" (default) or 
"googlemaps". If "googlemaps" is chosen, the tile URL is not needed as it's necessarily the one by Google and 
it's configured by the library itself. It "leaflet" is chosen, it remains possible to use Google Maps tiles (not sure 
the macro will support it though): https://ivansanchez.gitlab.io/Leaflet.GridLayer.GoogleMutant/demo.html

Stéphane


Ludovic

--
*Ludovic Dubost*
*Founder and CEO*
ludo...@xwiki.com
skype: ldubost
Blog: http://blog.ludovic.orgTry XWiki on the cloud
  - Try Cryptpad: Secure
realtime Wysiwyg Editing 




--
Stéphane Laurière
XWiki www.xwiki.com
@slauriere



Re: [xwiki-devs] [Contrib] New repo and JIRA for an OpenStreetMap macro

2018-07-02 Thread Alex Cotiugă
Hi Stéphane,

Why would you change the default from googlemaps? Since we only have one
implementation so far, I think we should keep it as default. WDYT?

Alex

On Wed, Jun 27, 2018 at 3:13 PM, Stéphane Laurière 
wrote:

> Ludovic Dubost:
>
>> Do we have the plan of being able to configure the openstreetmap provider
>> ?
>>
>
> My plan is to add two parameters to the macro:
>
> - "tiles" for configuring the tile provider URL scheme. Examples: https://
> {s}.tile.openstreetmap.org/{z}/{x}/{y}.png
>  http://{s}.
> tile.stamen.com/toner/{z}/{x}/{y}.png
> 
>
> - "library" for choosing the JavaScript library to be used: either
> "leaflet" (default) or "googlemaps". If "googlemaps" is chosen, the tile
> URL is not needed as it's necessarily the one by Google and it's configured
> by the library itself. It "leaflet" is chosen, it remains possible to use
> Google Maps tiles (not sure the macro will support it though):
> https://ivansanchez.gitlab.io/Leaflet.GridLayer.GoogleMutant/demo.html
>
> Stéphane
>
> Ludovic
>>
>> --
>> *Ludovic Dubost*
>> *Founder and CEO*
>> ludo...@xwiki.com
>> skype: ldubost
>> Blog: http://blog.ludovic.orgTry XWiki on the cloud
>>   - Try Cryptpad:
>> Secure
>> realtime Wysiwyg Editing 
>>
>>
>
> --
> Stéphane Laurière
> XWiki www.xwiki.com
> @slauriere
>
>


Re: [xwiki-devs] [Contrib] New repo and JIRA for an OpenStreetMap macro

2018-07-02 Thread Ludovic Dubost
Hi,

The idea was to push for usage of OSM instead of Google, especially with
the changes Google is giving and the fact that it requires a key by default.
Now indeed this is unsual to change the default as it might break the cases
where geocoding was used until we support geocoding as part of the OSM macro

Ludovic

--
*Ludovic Dubost*
*Founder and CEO*
ludo...@xwiki.com
skype: ldubost
Blog: http://blog.ludovic.orgTry XWiki on the cloud
  - Try Cryptpad: Secure
realtime Wysiwyg Editing 


On Mon, Jul 2, 2018 at 1:24 PM, Alex Cotiugă 
wrote:

> Hi Stéphane,
>
> Why would you change the default from googlemaps? Since we only have one
> implementation so far, I think we should keep it as default. WDYT?
>
> Alex
>
> On Wed, Jun 27, 2018 at 3:13 PM, Stéphane Laurière 
> wrote:
>
>> Ludovic Dubost:
>>
>>> Do we have the plan of being able to configure the openstreetmap
>>> provider ?
>>>
>>
>> My plan is to add two parameters to the macro:
>>
>> - "tiles" for configuring the tile provider URL scheme. Examples: https://
>> {s}.tile.openstreetmap.org/{z}/{x}/{y}.png
>>  http://{s}.
>> tile.stamen.com/toner/{z}/{x}/{y}.png
>> 
>>
>> - "library" for choosing the JavaScript library to be used: either
>> "leaflet" (default) or "googlemaps". If "googlemaps" is chosen, the tile
>> URL is not needed as it's necessarily the one by Google and it's configured
>> by the library itself. It "leaflet" is chosen, it remains possible to use
>> Google Maps tiles (not sure the macro will support it though):
>> https://ivansanchez.gitlab.io/Leaflet.GridLayer.GoogleMutant/demo.html
>>
>> Stéphane
>>
>> Ludovic
>>>
>>> --
>>> *Ludovic Dubost*
>>> *Founder and CEO*
>>> ludo...@xwiki.com
>>> skype: ldubost
>>> Blog: http://blog.ludovic.orgTry XWiki on the cloud
>>>   - Try Cryptpad:
>>> Secure
>>> realtime Wysiwyg Editing 
>>>
>>>
>>
>> --
>> Stéphane Laurière
>> XWiki www.xwiki.com
>> @slauriere
>>
>>
>


Re: [xwiki-devs] [Contrib] New repo and JIRA for an OpenStreetMap macro

2018-07-02 Thread Stéphane Laurière

Hi Alex, Ludo, all,

Thanks for your feedbacks. I created a pull request which now includes OSM 
geocoding and opens OSM directions when clicking on the marker:

  https://github.com/xwiki-contrib/macro-map/pull/9

As for the default value, now that OSM geocoding is supported I'd rather be for 
using it but on the other hand it's true that it will have an impact on 
existing instances...

Stéphane


Ludovic Dubost:

Hi,

The idea was to push for usage of OSM instead of Google, especially with
the changes Google is giving and the fact that it requires a key by default.
Now indeed this is unsual to change the default as it might break the cases
where geocoding was used until we support geocoding as part of the OSM macro

Ludovic

--
*Ludovic Dubost*
*Founder and CEO*
ludo...@xwiki.com
skype: ldubost
Blog: http://blog.ludovic.orgTry XWiki on the cloud
  - Try Cryptpad: Secure
realtime Wysiwyg Editing 


On Mon, Jul 2, 2018 at 1:24 PM, Alex Cotiugă 
wrote:


Hi Stéphane,

Why would you change the default from googlemaps? Since we only have one
implementation so far, I think we should keep it as default. WDYT?

Alex

On Wed, Jun 27, 2018 at 3:13 PM, Stéphane Laurière 
wrote:


Ludovic Dubost:


Do we have the plan of being able to configure the openstreetmap
provider ?



My plan is to add two parameters to the macro:

- "tiles" for configuring the tile provider URL scheme. Examples: https://
{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
 http://{s}.
tile.stamen.com/toner/{z}/{x}/{y}.png


- "library" for choosing the JavaScript library to be used: either
"leaflet" (default) or "googlemaps". If "googlemaps" is chosen, the tile
URL is not needed as it's necessarily the one by Google and it's configured
by the library itself. It "leaflet" is chosen, it remains possible to use
Google Maps tiles (not sure the macro will support it though):
https://ivansanchez.gitlab.io/Leaflet.GridLayer.GoogleMutant/demo.html

Stéphane

Ludovic


--
*Ludovic Dubost*
*Founder and CEO*
ludo...@xwiki.com
skype: ldubost
Blog: http://blog.ludovic.orgTry XWiki on the cloud
  - Try Cryptpad:
Secure
realtime Wysiwyg Editing 




--
Stéphane Laurière
XWiki www.xwiki.com
@slauriere







--
Stéphane Laurière
XWiki www.xwiki.com
@slauriere



Re: [xwiki-devs] [Contrib] New repo and JIRA for an OpenStreetMap macro

2018-07-02 Thread Ludovic Dubost
Yes I'm +1 to move to OSM being the default

Ludovic

--
*Ludovic Dubost*
*Founder and CEO*
ludo...@xwiki.com
skype: ldubost
Blog: http://blog.ludovic.orgTry XWiki on the cloud
  - Try Cryptpad: Secure
realtime Wysiwyg Editing 


On Mon, Jul 2, 2018 at 4:31 PM, Stéphane Laurière 
wrote:

> Hi Alex, Ludo, all,
>
> Thanks for your feedbacks. I created a pull request which now includes OSM
> geocoding and opens OSM directions when clicking on the marker:
>
>   https://github.com/xwiki-contrib/macro-map/pull/9
>
> As for the default value, now that OSM geocoding is supported I'd rather
> be for using it but on the other hand it's true that it will have an impact
> on existing instances...
>
> Stéphane
>
>
> Ludovic Dubost:
>
>> Hi,
>>
>> The idea was to push for usage of OSM instead of Google, especially with
>> the changes Google is giving and the fact that it requires a key by
>> default.
>> Now indeed this is unsual to change the default as it might break the
>> cases
>> where geocoding was used until we support geocoding as part of the OSM
>> macro
>>
>> Ludovic
>>
>> --
>> *Ludovic Dubost*
>> *Founder and CEO*
>> ludo...@xwiki.com
>> skype: ldubost
>> Blog: http://blog.ludovic.orgTry XWiki on the cloud
>>   - Try Cryptpad:
>> Secure
>> realtime Wysiwyg Editing 
>>
>>
>> On Mon, Jul 2, 2018 at 1:24 PM, Alex Cotiugă > >
>> wrote:
>>
>> Hi Stéphane,
>>>
>>> Why would you change the default from googlemaps? Since we only have one
>>> implementation so far, I think we should keep it as default. WDYT?
>>>
>>> Alex
>>>
>>> On Wed, Jun 27, 2018 at 3:13 PM, Stéphane Laurière 
>>> wrote:
>>>
>>> Ludovic Dubost:

 Do we have the plan of being able to configure the openstreetmap
> provider ?
>
>
 My plan is to add two parameters to the macro:

 - "tiles" for configuring the tile provider URL scheme. Examples:
 https://
 {s}.tile.openstreetmap.org/{z}/{x}/{y}.png
 
  http://{s}.
 tile.stamen.com/toner/{z}/{x}/{y}.png
 
 


 - "library" for choosing the JavaScript library to be used: either
 "leaflet" (default) or "googlemaps". If "googlemaps" is chosen, the tile
 URL is not needed as it's necessarily the one by Google and it's
 configured
 by the library itself. It "leaflet" is chosen, it remains possible to
 use
 Google Maps tiles (not sure the macro will support it though):
 https://ivansanchez.gitlab.io/Leaflet.GridLayer.GoogleMutant/demo.html

 Stéphane

 Ludovic

>
> --
> *Ludovic Dubost*
> *Founder and CEO*
> ludo...@xwiki.com
> skype: ldubost
> Blog: http://blog.ludovic.orgTry XWiki on the cloud
>   - Try Cryptpad:
> Secure
> realtime Wysiwyg Editing 
>
>
>
 --
 Stéphane Laurière
 XWiki www.xwiki.com
 @slauriere



>>>
>
> --
> Stéphane Laurière
> XWiki www.xwiki.com
> @slauriere
>
>


Re: [xwiki-devs] [Contrib] New repo and JIRA for an OpenStreetMap macro

2018-07-02 Thread Thomas Mortagne
I also think it's better to push for OSM as the default. You might
want to name the next release "2.0" to make this breaking change more
explicit.

On Mon, Jul 2, 2018 at 5:42 PM, Ludovic Dubost  wrote:
> Yes I'm +1 to move to OSM being the default
>
> Ludovic
>
> --
> *Ludovic Dubost*
> *Founder and CEO*
> ludo...@xwiki.com
> skype: ldubost
> Blog: http://blog.ludovic.orgTry XWiki on the cloud
>   - Try Cryptpad: Secure
> realtime Wysiwyg Editing 
>
>
> On Mon, Jul 2, 2018 at 4:31 PM, Stéphane Laurière 
> wrote:
>
>> Hi Alex, Ludo, all,
>>
>> Thanks for your feedbacks. I created a pull request which now includes OSM
>> geocoding and opens OSM directions when clicking on the marker:
>>
>>   https://github.com/xwiki-contrib/macro-map/pull/9
>>
>> As for the default value, now that OSM geocoding is supported I'd rather
>> be for using it but on the other hand it's true that it will have an impact
>> on existing instances...
>>
>> Stéphane
>>
>>
>> Ludovic Dubost:
>>
>>> Hi,
>>>
>>> The idea was to push for usage of OSM instead of Google, especially with
>>> the changes Google is giving and the fact that it requires a key by
>>> default.
>>> Now indeed this is unsual to change the default as it might break the
>>> cases
>>> where geocoding was used until we support geocoding as part of the OSM
>>> macro
>>>
>>> Ludovic
>>>
>>> --
>>> *Ludovic Dubost*
>>> *Founder and CEO*
>>> ludo...@xwiki.com
>>> skype: ldubost
>>> Blog: http://blog.ludovic.orgTry XWiki on the cloud
>>>   - Try Cryptpad:
>>> Secure
>>> realtime Wysiwyg Editing 
>>>
>>>
>>> On Mon, Jul 2, 2018 at 1:24 PM, Alex Cotiugă >> >
>>> wrote:
>>>
>>> Hi Stéphane,

 Why would you change the default from googlemaps? Since we only have one
 implementation so far, I think we should keep it as default. WDYT?

 Alex

 On Wed, Jun 27, 2018 at 3:13 PM, Stéphane Laurière 
 wrote:

 Ludovic Dubost:
>
> Do we have the plan of being able to configure the openstreetmap
>> provider ?
>>
>>
> My plan is to add two parameters to the macro:
>
> - "tiles" for configuring the tile provider URL scheme. Examples:
> https://
> {s}.tile.openstreetmap.org/{z}/{x}/{y}.png
> 
>  http://{s}.
> tile.stamen.com/toner/{z}/{x}/{y}.png
> 
> 
>
>
> - "library" for choosing the JavaScript library to be used: either
> "leaflet" (default) or "googlemaps". If "googlemaps" is chosen, the tile
> URL is not needed as it's necessarily the one by Google and it's
> configured
> by the library itself. It "leaflet" is chosen, it remains possible to
> use
> Google Maps tiles (not sure the macro will support it though):
> https://ivansanchez.gitlab.io/Leaflet.GridLayer.GoogleMutant/demo.html
>
> Stéphane
>
> Ludovic
>
>>
>> --
>> *Ludovic Dubost*
>> *Founder and CEO*
>> ludo...@xwiki.com
>> skype: ldubost
>> Blog: http://blog.ludovic.orgTry XWiki on the cloud
>>   - Try Cryptpad:
>> Secure
>> realtime Wysiwyg Editing 
>>
>>
>>
> --
> Stéphane Laurière
> XWiki www.xwiki.com
> @slauriere
>
>
>

>>
>> --
>> Stéphane Laurière
>> XWiki www.xwiki.com
>> @slauriere
>>
>>



-- 
Thomas Mortagne