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
I have task to search some address in one or more than polygon created. So I put function Search in
freeDraw.on('markers', function (event) { if (event.eventType == 'create' && event.latLngs.length > 0) { var coordinates = event.latLngs; var feature = L.polygon(coordinates); $scope.newBounds.extend(feature.getBounds()); if ($scope.$parent.SearchSalePropertyModel) { $scope.$parent.SearchSalePropertyModel.Features.push(JSON.stringify(feature.toGeoJSON())); } else { $scope.$parent.SearchLeasePropertyModel.Features.push(JSON.stringify(feature.toGeoJSON())); } } else { return; } $scope.$parent.Search($scope.newBounds); });
But the library re-draws all the polygons => make called server twice, how I fix it?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have task to search some address in one or more than polygon created. So I put function Search in
But the library re-draws all the polygons => make called server twice, how I fix it?
The text was updated successfully, but these errors were encountered: