Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
nominatim https
Browse files Browse the repository at this point in the history
  • Loading branch information
astridx committed Jan 23, 2019
1 parent f2ff440 commit b345798
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 6 deletions.
18 changes: 18 additions & 0 deletions agosms-update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,22 @@
<maintainerurl>https://astrid-guenther.de</maintainerurl>
<targetplatform name="joomla" version="3.*"/>
</update>
<update>
<name>pkg_agosms</name>
<description>pkg_agosms</description>
<element>pkg_agosms</element>
<type>package</type>
<client>site</client>
<version>1.0.28</version>
<infourl title="agosms">https://github.com/astridx/pkg_agosms/blob/v1.0.28/README.md</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/astridx/pkg_agosms/releases/download/v1.0.28/pkg-agosms.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Astrid Günther</maintainer>
<maintainerurl>https://astrid-guenther.de</maintainerurl>
<targetplatform name="joomla" version="3.*"/>
</update>
</updates>
2 changes: 1 addition & 1 deletion dist/current
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<extension type="component" version="3.5" method="upgrade">
<name>com_agosms</name>
<author>Astrid Günther</author>
<creationDate>2019-01-19</creationDate>
<creationDate>2019-01-23</creationDate>
<copyright>(C) 2019 Open Source Matters. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later;</license>
<authorEmail>info@astrid-guenther.de</authorEmail>
<authorUrl>www.astrid-guenther.de</authorUrl>
<version>1.0.27</version>
<version>1.0.28</version>
<description>COM_AGOSMS_XML_DESCRIPTION</description>
<scriptfile>script.php</scriptfile>

Expand Down
Binary file modified dist/zips/com_agosms.zip
Binary file not shown.
Binary file modified dist/zips/mod_agosm.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion jorobo.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extension = agosms
version = 1.0.27
version = 1.0.28
source = src
target = package

Expand Down
4 changes: 2 additions & 2 deletions src/media/mod_agosm/js/LeafletControlRoutingtoaddress.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ L.LeafletControlRoutingtoaddress = L.Control.extend({
this._map.removeLayer(this._route_linestring);
}

var json_obj_target = JSON.parse(Get('http://nominatim.openstreetmap.org/search?format=json&limit=5&q=' + this.options.target));
var json_obj_startingpoint = JSON.parse(Get('http://nominatim.openstreetmap.org/search?format=json&limit=5&q=' + input.value));
var json_obj_target = JSON.parse(Get('https://nominatim.openstreetmap.org/search?format=json&limit=5&q=' + this.options.target));
var json_obj_startingpoint = JSON.parse(Get('https://nominatim.openstreetmap.org/search?format=json&limit=5&q=' + input.value));

if (typeof json_obj_startingpoint[0] === 'undefined' ||
json_obj_startingpoint[0] === null ||
Expand Down

0 comments on commit b345798

Please sign in to comment.