File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 11{
22 "name" : " gh-datainmap" ,
3- "version" : " 1.10.9 " ,
3+ "version" : " 1.10.10 " ,
44 "description" : " " ,
55 "main" : " index.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change 33Plugin Name: Data In Map
44Plugin URI: https://github.com/OpenWebconcept/plugin-datainmap
55Description: Data In Map is a plugin for displaying maps.
6- Version: 1.10.9
6+ Version: 1.10.10
77Requires at least: 5.0
88Requires PHP: 7.2
99Author: Gemeente Heerenveen
2626*/
2727
2828if ( ! 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 ' );
3030if ( ! defined ('GH_DIM_FILE ' )) define ('GH_DIM_FILE ' , __FILE__ );
3131if ( ! defined ('GH_DIM_DIR ' )) define ('GH_DIM_DIR ' , dirname (__FILE__ ));
3232if ( ! defined ('GH_DIM_DEBUG ' )) define ('GH_DIM_DEBUG ' , false );
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export const SEARCH_SUGGEST = 'SEARCH_SUGGEST';
9090export 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) {
124124export const FETCH_LOCATION = 'FETCH_LOCATION' ;
125125export 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 => {
You can’t perform that action at this time.
0 commit comments