Skip to content

Commit dcf3cef

Browse files
committed
Merge branch 'release/1.10.10'
2 parents a0f110e + 5c78fc3 commit dcf3cef

4 files changed

Lines changed: 9 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
**1.10.10 (2023-09-05)**
2+
3+
- PDOK Locatieserver is verhuisd naar een nieuw adres. Nieuwe URL's overgenomen voor de zoekdienst.
4+
15
**1.10.9 (2023-01-03)**
26

37
- Als Gutenberg gebruikt werd als editor voor locaties dan werd de kaart om een locatie te selecteren niet weergegeven. Dit is nu opgelost.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gh-datainmap",
3-
"version": "1.10.9",
3+
"version": "1.10.10",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

plugins/gh-datainmap/gh-datainmap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: Data In Map
44
Plugin URI: https://github.com/OpenWebconcept/plugin-datainmap
55
Description: Data In Map is a plugin for displaying maps.
6-
Version: 1.10.9
6+
Version: 1.10.10
77
Requires at least: 5.0
88
Requires PHP: 7.2
99
Author: Gemeente Heerenveen
@@ -26,7 +26,7 @@
2626
*/
2727

2828
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
29-
if ( ! defined('GH_DIM_VERSION')) define('GH_DIM_VERSION', '1.10.9');
29+
if ( ! defined('GH_DIM_VERSION')) define('GH_DIM_VERSION', '1.10.10');
3030
if ( ! defined('GH_DIM_FILE')) define('GH_DIM_FILE', __FILE__);
3131
if ( ! defined('GH_DIM_DIR')) define('GH_DIM_DIR', dirname(__FILE__));
3232
if ( ! defined('GH_DIM_DEBUG')) define('GH_DIM_DEBUG', false);

src/actions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const SEARCH_SUGGEST = 'SEARCH_SUGGEST';
9090
export function searchSuggest(q) {
9191
let thunk = (dispatch, getState) => {
9292
const state = getState();
93-
let url = 'https://geodata.nationaalgeoregister.nl/locatieserver/v3/suggest?wt=json';
93+
let url = 'https://api.pdok.nl/bzk/locatieserver/search/v3_1/suggest?wt=json';
9494
const township = getState().search.township;
9595
if(township.length > 0) {
9696
q += ' AND gemeentecode:' + township;
@@ -124,7 +124,7 @@ export function setSearchResults(results) {
124124
export const FETCH_LOCATION = 'FETCH_LOCATION';
125125
export function fetchLocation(id) {
126126
let thunk = (dispatch, getState) => {
127-
let url = 'https://geodata.nationaalgeoregister.nl/locatieserver/v3/lookup?wt=json';
127+
let url = 'https://api.pdok.nl/bzk/locatieserver/search/v3_1/lookup?wt=json';
128128
url += '&id=' + id;
129129
return fetch(url).
130130
then( response => {

0 commit comments

Comments
 (0)