Fix mapIfSet bug, add additional ToGeoJson operations.