Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zoekfunctie wordt niet getoond #150

Open
taatuut opened this issue May 3, 2023 · 0 comments
Open

Zoekfunctie wordt niet getoond #150

taatuut opened this issue May 3, 2023 · 0 comments

Comments

@taatuut
Copy link

taatuut commented May 3, 2023

Met de NL Maps Wizard code gegenereerd met waarde [ zoekbalk ] voor de optie 'Kies een zoekfunctie'.

In de Wizard wordt de zoekbalk dan ook getoond.

            var nlMapsHolder = document.getElementById('nlmaps-holder');
            nlMapsHolder.style.height = '100%'; // Changed to 100%, can also use px
        
            var opts = {
                style: 'luchtfoto', // 'standaard'
                target: 'nlmaps-holder',
                center: { // Location set to Wedren, Nijmegen
                    longitude: 5.865941,
                    latitude: 51.841024
                },
                overlay: 'drone-no-fly-zones', // 'false', 'gebouwen' // Can optionally use some default NL Maps overlays
                marker: true,
                search: true, // Does not work?
                zoom: 13
            };
            var map = nlmaps.createMap(opts);

De zoekbalk wordt echter niet getoond als ik de code kopieer en onder een Python Webserver draai.

Ik zie dat iets vergelijkbaars eerder gerapporteerd is onder issues #132 en #21 maar daar zie ik niet hoe het opgelost is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant