Hi,
sorry, I do not understand why there should be an initial pin.
Though you did not explain more about the use of this question I assume it is one of the annual "openbaare vervoer" surveys of TUE.
I remember a similar question of one of your fellow students some years ago.
Nevertheless:
If the respondent doesn't know his postcode you want to show a map with Eindhoven in the center, right?
And in my opinion there shouldn't be a marker; the marker symbolizes the answer, but there is no answer yet.
Now the respondent is to set a marker near his home address.
All is fine here with these settings:
zoom: 12
start position: 51.43758 5.47892
You see that I use a list(radio) question with the "other" option at the beginning
Of course the script had to be changed
from
v
ar mapCheckbox = $(':checkbox:last', thisQuestion);
to
var mapCheckbox = $(':radio:last', thisQuestion);
and in the css I changed to
Code:
<style type="text/css" data-author="Tony Partner">
.custom-hidden {
position: relative;
left: -9999em;
}
</style>
No idea why it works with "relative". I saw it in the webdevelopment tool.