We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My GeoJSON is look like this:
var mycode = { "type": "Feature", "geometry": { "type": "MultiPoint", "coordinates": coord }, "properties": { "path_options": {"color": "red"}, "time": timeStamp, "adv" : adv } where coord, timeStamp, adv are array of data
Each marker has different adv data. I am trying to put the adv data on each marker using:
marker: function(featureData) { return{ getPopup: function(feature){ return feature.properties.adv } }; }
But I get value of adv array show on the popup instead of one marker show one adv data.
I am wondering how can I make each popup's marker show one data in the array, not the whole array data.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
My GeoJSON is look like this:
var mycode = {
"type": "Feature",
"geometry": {
"type": "MultiPoint",
"coordinates": coord
},
"properties": {
"path_options": {"color": "red"},
"time": timeStamp,
"adv" : adv
}
where coord, timeStamp, adv are array of data
Each marker has different adv data. I am trying to put the adv data on each marker using:
marker: function(featureData) {
return{
getPopup: function(feature){
return feature.properties.adv
}
};
}
But I get value of adv array show on the popup instead of one marker show one adv data.
I am wondering how can I make each popup's marker show one data in the array, not the whole array data.
The text was updated successfully, but these errors were encountered: