Skip to content

Commit

Permalink
update to leafletjs 2.1.0
Browse files Browse the repository at this point in the history
version 2.1.0
  • Loading branch information
akuechl committed Dec 1, 2015
1 parent b035522 commit 7f7f7d7
Show file tree
Hide file tree
Showing 8 changed files with 7,590 additions and 7,585 deletions.
8 changes: 4 additions & 4 deletions Osm_akuechler.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ function _addLeafletScripts() {
$document = & JFactory::getDocument ();

if ($this->params->get ( 'cdn-usage', $this->cdnUsage ) == 1) {
$document->addStyleSheet ( '//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css' );
$document->addScript ( '//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js' );
$document->addStyleSheet ( '//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.css' );
$document->addScript ( '//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.js' );
} else if ($this->params->get ( 'cdn-usage', $this->cdnUsage ) == 2) {
$document->addStyleSheet ( '//cdn.jsdelivr.net/leaflet/0.7.3/leaflet.css' );
$document->addScript ( '//cdn.jsdelivr.net/leaflet/0.7.3/leaflet.js' );
$document->addStyleSheet ( '//cdn.jsdelivr.net/leaflet/0.7.7/leaflet.css' );
$document->addScript ( '//cdn.jsdelivr.net/leaflet/0.7.7/leaflet.js' );
} else {
$document->addStyleSheet ( 'plugins/content/Osm_akuechler/leaflet/leaflet.css' );
$document->addScript ( 'plugins/content/Osm_akuechler/leaflet/leaflet.js' );
Expand Down
7 changes: 6 additions & 1 deletion Osm_akuechler.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<extension version="2.5" type="plugin" group="content" method="upgrade">
<name>OSM Plugin</name>
<creationDate>May 13, 2015</creationDate>
<creationDate>Dec 1st, 2015</creationDate>
<author>Ariel Küchler</author>
<authorUrl>https://github.com/admiralsmaster</authorUrl>
<copyright>Ariel Küchler</copyright>
Expand All @@ -14,6 +14,11 @@
<p>see <a href="https://github.com/admiralsmaster/osm_akuechler">https://github.com/admiralsmaster/osm_akuechler</a></p>
<h2>Versions</h2>
<ol>
<li>2.1.0
<ul>
<li>leafletjs upgrade to <a href="https://github.com/Leaflet/Leaflet/blob/master/CHANGELOG.md#077-october-26-2015">0.7.7</a></li>
</ul>
</li>
<li>2.0.0
<ul>
<li>Change the API. Now you can use HTML-Tags only.</li>
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ height | The height of DIV is the height of the card. Set the height via CSS,
Version
--------------

* **Version 2.1.0**: (Dec 1, 2015) update leafletjs to 0.7.7
* **Version 2.0.0**: (May 13, 2015) Change the API. Now you can use HTML-Tags only.
* **Version 1.3.0**: (November 25, 2014) add support for [jsdelivr](http://www.jsdelivr.com/)
* **Version 1.2.0**: (July 27, 2014) leafletjs upgrade to 0.7.3, Support Interaction Options from leaflet, Fix default value for retina support
Expand Down
11 changes: 10 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
<?xml version="1.0" encoding="UTF-8" ?>
<project name="" default="all" basedir=".">

<property name="version" value="2.0.0" />
<property name="version" value="2.1.0" />
<property name="pluginname" value="Osm_akuechler" />
<property name="dist-folder" value="dist" />
<property name="build-folder" value="${dist-folder}/build" />
<property name="yui-url" value="https://repo1.maven.org/maven2/com/yahoo/platform/yui/yuicompressor/2.4.8/yuicompressor-2.4.8.jar"/>

<!--
<property name="proxy.port" value="8080"/>
<property name="proxy.host" value="proxy"/>
<property name="proxy.user" value=""/>
<property name="proxy.pass" value=""/>
<setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"
proxyuser="${proxy.user}" proxypassword="${proxy.pass}"/>
-->

<target name="clean">
<delete dir="${dist-folder}" />
<delete dir="${build-folder}" />
Expand Down
Loading

0 comments on commit 7f7f7d7

Please sign in to comment.